Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63747

Link error "Undefined symbols for architecture armv7" when building iOS apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.9.2
    • QPA
    • None
    • Xcode 9.0
      iOS SDK 11.0

      Qt v5.9.2
    • iOS/tvOS/watchOS

      Xcode 9.0
      iOS SDK 11.0

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks ...Qt paths... ...file list... -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode-marker -fobjc-link-runtime -stdlib=libc++ -Wl,-e,_qt_main_wrapper -Wl,-rpath,@executable_path/Frameworks -fPIC ...libs... ...lib paths... -framework UIKit -framework AssetsLibrary -framework MobileCoreServices -framework OpenGLES -lm -lz -framework Foundation -framework QuartzCore -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework CoreText -lqiosnsphotolibrarysupport -lqios -lQt5FontDatabaseSupport -lqtfreetype -lQt5GraphicsSupport -lQt5ClipboardSupport -lqsvgicon -lqgif -lqicns -lqico -lqjpeg -lqmacjp2 -framework ImageIO -lqsvg -lqtga -lqtiff -lqwbmp -lqwebp -lqgenericbearer -framework Security -lQt5Svg -lqtquick2plugin -lqtquickcontrolsplugin -lqquicklayoutsplugin -lwindowplugin -ldialogplugin -lqmlfolderlistmodelplugin -lqmlsettingsplugin -ldialogsprivateplugin -lwidgetsplugin -lQt5Quick -lQt5Widgets -lQt5Gui -lqtlibpng -lqtharfbuzz -lQt5Qml -lQt5Network -lQt5Core -lqtpcre2 -Xlinker ... -o ...
      
      Undefined symbols for architecture armv7:
        "operator delete(void*, std::align_val_t)", referenced from:
            QQuickOpenGLShaderEffect::~QQuickOpenGLShaderEffect() in lto.o
            QtPrivate::MappedSlotObject::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) in lto.o
        "operator new(unsigned long, std::align_val_t)", referenced from:
            void QQmlPrivate::createInto<QQuickShaderEffect>(void*) in lto.o
            QQuickOpenGLShaderEffectCommon::updateShader(QQuickItem*, QMetaObject const*, QQuickOpenGLShaderEffectMaterialKey::ShaderType) in lto.o
      ld: symbol(s) not found for architecture armv7
      

      arm64 is OK.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            dmitry.sokolov Dmitry Sokolov
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes