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

scxml examples fail to build for iOS target

    XMLWordPrintable

Details

    • e9f09a1deddcfca61cca561d8ee8ac89d8b0b946 (qt/qtscxml/dev) a282090d4026a8927b4ccb483185a9c3a7bf9f56 (qt/qtscxml/6.2) 6327643fbd644082f3fd734145d1a961c283b7ac (qt/qtscxml/6.1)

    Description

      Have iOS device available, and install Qt6.2.0 beta3 iOs binaries, open scxml/calculator-qml example (might affec to other scxml examples also) and try to compile the example. Fails with:

      Ld /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/Release-iphoneos/calculator-qml.app/calculator-qml normal (in target 'calculator-qml' from project 'calculator-qml')
          cd /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -L/Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/Release-iphoneos -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/platforms -L/Users/qt/RTA/qt5/6.2.0/ios/lib/objects-Release/Gui_resources_1/.rcc -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk/System/Library/Frameworks/ -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/iconengines -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/imageformats -L/Users/qt/RTA/qt5/6.2.0/ios/lib -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/qmltooling -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml/objects-Release/Qml_resources_1/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQuick/objects-Release/Quick_resources_1/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/lib/objects-Release/Quick_resources_2/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml/Models/objects-Release/QmlModels_resources_1/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/networkinformation -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/tls -L/Users/qt/RTA/qt5/6.2.0/ios/plugins/scxmldatamodel -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQuick -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml/Models -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml/WorkerScript -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQml/WorkerScript/objects-Release/QmlWorkerScript_resources_1/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQuick/Window -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtQuick/Window/objects-Release/quickwindow_resources_1/.rcc -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtScxml -L/Users/qt/RTA/qt5/6.2.0/ios/qml/QtScxml/objects-Release/ScxmlQml_resources_1/.rcc -F/Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/Release-iphoneos -filelist /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/calculator-qml.build/Release-iphoneos/calculator-qml.build/Objects-normal/arm64/calculator-qml.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/calculator-qml.build/Release-iphoneos/calculator-qml.build/Objects-normal/arm64/calculator-qml_lto.o -fembed-bitcode-marker -stdlib\=libc++ -Wl,-rpath,@executable_path/Frameworks -framework AssetsLibrary -lm -framework MobileCoreServices -lz -framework OpenGLES -Wl,-e,_qt_main_wrapper -lqios -framework AudioToolbox -framework QuartzCore -lqsvgicon -lqgif -lqicns -lqico -lqjpeg -lqmacheif -lqmacjp2 -lqsvg -lQt6Svg -lQt6Widgets -lqtga -lqtiff -lqwbmp -lqwebp -lqmldbg_debugger -lqmldbg_inspector -lqmldbg_local -lqmldbg_messages -lqmldbg_native -lqmldbg_nativedebugger -lqmldbg_preview -lqmldbg_profiler -lqmldbg_quickprofiler -lqmldbg_server -lQt6PacketProtocol -lqmldbg_tcp -lscnetworkreachability -lsecuretransportbackend -lqscxmlecmascriptdatamodel -lqtquick2plugin -lQt6Quick -lQt6OpenGL -lQt6Gui -framework ImageIO -framework CoreGraphics -lQt6BundledHarfbuzz -framework CoreText -lQt6BundledFreetype -lQt6BundledLibpng -framework Metal -lqmlplugin -lmodelsplugin -lQt6QmlModels -lworkerscriptplugin -lQt6QmlWorkerScript -lquickwindow -ldeclarative_scxml -lQt6ScxmlQml -lQt6Scxml -lQt6Qml -lQt6Network -lQt6Core -framework Foundation -lQt6BundledPcre2 -framework UIKit -framework CoreFoundation -framework Security -framework SystemConfiguration -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/calculator-qml.build/Release-iphoneos/calculator-qml.build/Objects-normal/arm64/calculator-qml_dependency_info.dat -o /Users/qt/RTA/qt5/Examples/Qt-6.2.0/scxml/build-calculator-qml-Qt_6_2_0_for_iOS-Release/Release-iphoneos/calculator-qml.app/calculator-qml
      ld: '/Users/qt/RTA/qt5/6.2.0/ios/plugins/scxmldatamodel/libqscxmlecmascriptdatamodel.a(mocs_compilation_Release.cpp.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)** BUILD FAILED **
      

      If switched to the iOS Simulator build, it will compile without issues.

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: