Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt iOS compile user_main_trampoline() in libqios_debug.a(qioseventdispatcher.o)



  • Hi, i am trying to compile Qt (5.12.9) application for iOS 14. Whole compilation process worked fine until today. When i try to compile application i see this in Compile Output:

    19:41:14: Running steps for project test...
    19:41:14: Starting: "/usr/bin/make" clean -j8
    xcodebuild clean  -project test.xcodeproj -scheme test   -configuration Debug  -destination "id=E8E02B6A-29C8-41A5-9809-1247B1BBAA1F" -destination-timeout 1  ENABLE_ONLY_ACTIVE_RESOURCES=NO 
    Command line invocation:
        /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean -project test.xcodeproj -scheme test -configuration Debug -destination id=E8E02B6A-29C8-41A5-9809-1247B1BBAA1F -destination-timeout 1 ENABLE_ONLY_ACTIVE_RESOURCES=NO
    
    Build settings from command line:
        ENABLE_ONLY_ACTIVE_RESOURCES = NO
    
    Prepare build
    warning: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.
    === CLEAN AGGREGATE TARGET Qt Preprocess OF PROJECT test WITH CONFIGURATION Debug ===
    
    Check dependencies
    
    Clean.Remove clean .xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build
        builtin-rm -rf /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build
    
    === CLEAN TARGET test OF PROJECT test WITH CONFIGURATION Debug ===
    
    Check dependencies
    
    Create product structure
    /bin/mkdir -p /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/test.app
    
    Clean.Remove clean .xcode/test.build/Debug-iphonesimulator/test.build
        builtin-rm -rf /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build
    
    Clean.Remove clean Debug-iphonesimulator/test.app
        builtin-rm -rf /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/test.app
    
    ** CLEAN SUCCEEDED **
    
    rm -f test_plugin_import.o test_qml_plugin_import.o
    rm -f *~ core *.core
    19:41:17: The process "/usr/bin/make" exited normally.
    19:41:17: Starting: "/Users/macbook/Qt/5.12.9/ios/bin/qmake" /Users/macbook/Desktop/test/test.pro -spec macx-ios-clang CONFIG+=iphonesimulator CONFIG+=simulator CONFIG+=qml_debug
    19:41:18: The process "/Users/macbook/Qt/5.12.9/ios/bin/qmake" exited normally.
    19:41:18: Starting: "/usr/bin/make" -f /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Makefile qmake_all
    make: Nothing to be done for `qmake_all'.
    19:41:18: The process "/usr/bin/make" exited normally.
    19:41:18: Starting: "/usr/bin/make" -j8
    xcodebuild build  -project test.xcodeproj -scheme test   -configuration Debug  -destination "id=E8E02B6A-29C8-41A5-9809-1247B1BBAA1F" -destination-timeout 1  ENABLE_ONLY_ACTIVE_RESOURCES=NO 
    Command line invocation:
        /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build -project test.xcodeproj -scheme test -configuration Debug -destination id=E8E02B6A-29C8-41A5-9809-1247B1BBAA1F -destination-timeout 1 ENABLE_ONLY_ACTIVE_RESOURCES=NO
    
    Build settings from command line:
        ENABLE_ONLY_ACTIVE_RESOURCES = NO
    
    Prepare build
    warning: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.
    === BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT test WITH CONFIGURATION Debug ===
    
    Check dependencies
    
    Write auxiliary files
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh
    chmod 0755 /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
    chmod 0755 /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
    
    PhaseScriptExecution Qt\ Qmake .xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        /bin/sh -c \"/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh\"
    make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
    make[1]: `test.xcodeproj/project.pbxproj' is up to date.
    
    PhaseScriptExecution Qt\ Preprocessors .xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        /bin/sh -c \"/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\"
    make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
    make[1]: Nothing to be done for `preprocess'.
    
    === BUILD TARGET test OF PROJECT test WITH CONFIGURATION Debug ===
    
    Check dependencies
    
    Write auxiliary files
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test-generated-files.hmap
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test-all-target-headers.hmap
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.hmap
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test-own-target-headers.hmap
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test-project-headers.hmap
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test-all-non-framework-target-headers.hmap
    /bin/mkdir -p /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64
    write-file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test.LinkFileList
    
    Create product structure
    /bin/mkdir -p /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/test.app
    
    ProcessProductPackaging "" .xcode/test.build/Debug-iphonesimulator/test.build/test.app-Simulated.xcent
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        
    
    Entitlements:
    
    {
        "application-identifier" = "RWNUTC83VB.macbook.test";
        "keychain-access-groups" =     (
            "RWNUTC83VB.macbook.test"
        );
    }
    
    
        builtin-productPackagingUtility -entitlements -format xml -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.app-Simulated.xcent
    
    CompileC .xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_plugin_import.o test_plugin_import.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios12.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/macbook/Library/Developer/Xcode/DerivedData/test-aqttfsyalnbyoaboccrrcusjgyxs/Index/DataStore -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.hmap -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/include -I../test -I. -I../../Qt/5.12.9/ios/mkspecs/common/uikit -I../../Qt/5.12.9/ios/include -I../../Qt/5.12.9/ios/include/QtQuick -I../../Qt/5.12.9/ios/include/QtGui -I../../Qt/5.12.9/ios/include/QtQml -I../../Qt/5.12.9/ios/include/QtNetwork -I../../Qt/5.12.9/ios/include/QtCore -I../../Qt/5.12.9/ios/mkspecs/macx-ios-clang -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources-normal/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources -F/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -pipe -stdlib=libc++ -arch arm64 -g -std=gnu++11 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wall -W -fPIC -DQT_COMPILER_SUPPORTS_SSE2 -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -MMD -MT dependencies -MF /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_plugin_import.d --serialize-diagnostics /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_plugin_import.dia -c /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/test_plugin_import.cpp -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_plugin_import.o
    
    CompileC .xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/main.o /Users/macbook/Desktop/test/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios12.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/macbook/Library/Developer/Xcode/DerivedData/test-aqttfsyalnbyoaboccrrcusjgyxs/Index/DataStore -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.hmap -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/include -I../test -I. -I../../Qt/5.12.9/ios/mkspecs/common/uikit -I../../Qt/5.12.9/ios/include -I../../Qt/5.12.9/ios/include/QtQuick -I../../Qt/5.12.9/ios/include/QtGui -I../../Qt/5.12.9/ios/include/QtQml -I../../Qt/5.12.9/ios/include/QtNetwork -I../../Qt/5.12.9/ios/include/QtCore -I../../Qt/5.12.9/ios/mkspecs/macx-ios-clang -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources-normal/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources -F/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -pipe -stdlib=libc++ -arch arm64 -g -std=gnu++11 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wall -W -fPIC -DQT_COMPILER_SUPPORTS_SSE2 -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -MMD -MT dependencies -MF /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/main.dia -c /Users/macbook/Desktop/test/main.cpp -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/main.o
    
    CompileC .xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_qml_plugin_import.o test_qml_plugin_import.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios12.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/macbook/Library/Developer/Xcode/DerivedData/test-aqttfsyalnbyoaboccrrcusjgyxs/Index/DataStore -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.hmap -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/include -I../test -I. -I../../Qt/5.12.9/ios/mkspecs/common/uikit -I../../Qt/5.12.9/ios/include -I../../Qt/5.12.9/ios/include/QtQuick -I../../Qt/5.12.9/ios/include/QtGui -I../../Qt/5.12.9/ios/include/QtQml -I../../Qt/5.12.9/ios/include/QtNetwork -I../../Qt/5.12.9/ios/include/QtCore -I../../Qt/5.12.9/ios/mkspecs/macx-ios-clang -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources-normal/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources -F/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -pipe -stdlib=libc++ -arch arm64 -g -std=gnu++11 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wall -W -fPIC -DQT_COMPILER_SUPPORTS_SSE2 -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -MMD -MT dependencies -MF /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_qml_plugin_import.d --serialize-diagnostics /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_qml_plugin_import.dia -c /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/test_qml_plugin_import.cpp -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_qml_plugin_import.o
    
    CompileC .xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/qrc_qml.o qrc_qml.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios12.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/macbook/Library/Developer/Xcode/DerivedData/test-aqttfsyalnbyoaboccrrcusjgyxs/Index/DataStore -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.hmap -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/include -I../test -I. -I../../Qt/5.12.9/ios/mkspecs/common/uikit -I../../Qt/5.12.9/ios/include -I../../Qt/5.12.9/ios/include/QtQuick -I../../Qt/5.12.9/ios/include/QtGui -I../../Qt/5.12.9/ios/include/QtQml -I../../Qt/5.12.9/ios/include/QtNetwork -I../../Qt/5.12.9/ios/include/QtCore -I../../Qt/5.12.9/ios/mkspecs/macx-ios-clang -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources-normal/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources/x86_64 -I/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/DerivedSources -F/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -pipe -stdlib=libc++ -arch arm64 -g -std=gnu++11 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wall -W -fPIC -DQT_COMPILER_SUPPORTS_SSE2 -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -MMD -MT dependencies -MF /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/qrc_qml.d --serialize-diagnostics /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/qrc_qml.dia -c /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/qrc_qml.cpp -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/qrc_qml.o
    
    Ld Debug-iphonesimulator/test.app/test normal x86_64
        cd /Users/macbook/Desktop/build-test-iOS_Simulator-Debug
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/macbook/Qt/5.12.9/ios/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios12.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -L/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -L/Users/macbook/Qt/5.12.9/ios/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks -L/Users/macbook/Qt/5.12.9/ios/lib -L/Users/macbook/Qt/5.12.9/ios/plugins/imageformats -L/Users/macbook/Qt/5.12.9/ios/plugins/qmltooling -L/Users/macbook/Qt/5.12.9/ios/plugins/bearer -L/Users/macbook/Qt/5.12.9/ios/qml/QtQuick.2 -L/Users/macbook/Qt/5.12.9/ios/qml/QtQuick/Window.2 -F/Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator -filelist /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -Wl,-e,_qt_main_wrapper -Wl,-rpath,@executable_path/../Frameworks -L/Users/macbook/Qt/5.12.9/ios/plugins/platforms -framework AssetsLibrary -lz -framework MobileCoreServices -lm -framework UIKit -framework OpenGLES -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/test.app-Simulated.xcent -lqios_debug -framework QuartzCore -framework AudioToolbox -lQt5FontDatabaseSupport_debug -lqtfreetype_debug -lQt5GraphicsSupport_debug -lQt5ClipboardSupport_debug -lqgif_debug -lqicns_debug -lqico_debug -lqjpeg_debug -lqmacheif_debug -lqmacjp2_debug -framework ImageIO -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lqmldbg_debugger_debug -lqmldbg_inspector_debug -lqmldbg_local_debug -lqmldbg_messages_debug -lqmldbg_native_debug -lqmldbg_nativedebugger_debug -lqmldbg_preview_debug -lqmldbg_profiler_debug -lqmldbg_quickprofiler_debug -lqmldbg_server_debug -lQt5PacketProtocol_debug -lqmldbg_tcp_debug -lqgenericbearer_debug -lqtquick2plugin_debug -lwindowplugin_debug -lQt5Quick_debug -lQt5Qml_debug -lQt5Gui_debug -lqtlibpng_debug -lqtharfbuzz_debug -framework CoreText -framework CoreGraphics -lQt5Network_debug -framework Security -lQt5Core_debug -framework CoreFoundation -framework Foundation -lqtpcre2_debug -Xlinker -dependency_info -Xlinker /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_dependency_info.dat -o /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/Debug-iphonesimulator/test.app/test
    ld: warning: ignoring file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/main.o, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-arm64ld: warning: 
    ignoring file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_plugin_import.o, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-arm64
    ld: warning: ignoring file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/test_qml_plugin_import.o, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-arm64
    ld: warning: ignoring file /Users/macbook/Desktop/build-test-iOS_Simulator-Debug/.xcode/test.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/qrc_qml.o, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-arm64
    Undefined symbols for architecture x86_64:
      "_main", referenced from:
          user_main_trampoline() in libqios_debug.a(qioseventdispatcher.o)
         (maybe you meant: _qt_main_wrapper)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    ** BUILD FAILED **
    
    
    The following build commands failed:
    	Ld Debug-iphonesimulator/test.app/test normal x86_64
    (1 failure)
    make: *** [xcodebuild-debug-simulator] Error 65
    19:41:23: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project test (kit: iOS_Simulator)
    When executing step "Make"
    

    How can i fix it? I tried to reinstall xCode 12 and problem still occurs. Any ideas?
    Thanks in advance, Paul


  • Lifetime Qt Champion

    @Pientashek Did you try a more recent Qt version?



  • This post is deleted!


  • @jsulm no, i didnt because i had problems with QMQTT module compilation for iOS/Android (for me only 5.12.9 version works).



  • For Qt 5.15.1 version this step is passed but there is another issue: https://forum.qt.io/topic/119708/qtmqtt-build-for-ios-error


Log in to reply