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

Can't compile iOS examples on macOS10.14/13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.12.2, 5.13.0 Alpha 1, 5.13.0 Beta 1
    • Fix Version/s: 5.12.2, 5.13.0 Beta 1
    • Component/s: Build System
    • Labels:
    • Environment:
      macOS10.14
      iOS 12.1.4
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      Install iOS binaries from staging, open Creator and any of the examples. Try to compile, build fails, also when opening the xcodeproject file in xcode and trying to build there fails:

      Ld Debug-iphoneos/addressbook.app/addressbook normal arm64
          cd /Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug
          export IPHONEOS_DEPLOYMENT_TARGET=11.0
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/Debug-iphoneos -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/lib -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/plugins/imageformats -F/Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/Debug-iphoneos -filelist /Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/.xcode/addressbook.build/Debug-iphoneos/addressbook.build/Objects-normal/arm64/addressbook.LinkFileList -miphoneos-version-min=11.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/.xcode/addressbook.build/Debug-iphoneos/addressbook.build/Objects-normal/arm64/addressbook_lto.o -Xlinker -no_deduplicate -fembed-bitcode-marker -stdlib=libc++ -Wl,-e,_qt_main_wrapper -Wl,-dead_strip -Wl,-rpath,@executable_path/../Frameworks -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/plugins/platforms -framework UIKit -framework AssetsLibrary -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/lib -framework MobileCoreServices /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libz.tbd -framework OpenGLES -L/Users/qt/Qt/Qt_staging_commercial/5.13.0/ios/plugins/imageformats -lm -framework Foundation -framework QuartzCore -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework ImageIO -lqios_debug -lQt5FontDatabaseSupport_debug -lqtfreetype_debug -lQt5GraphicsSupport_debug -lQt5ClipboardSupport_debug -lqgif_debug -lqicns_debug -lqico_debug -lqjpeg_debug -lqmacheif_debug -lqmacjp2_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lQt5Widgets_debug -lQt5Gui_debug -lqtlibpng_debug -lqtharfbuzz_debug -lQt5Core_debug -lqtpcre2_debug -Xlinker -dependency_info -Xlinker /Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/.xcode/addressbook.build/Debug-iphoneos/addressbook.build/Objects-normal/arm64/addressbook_dependency_info.dat -o /Users/qt/Qt/Qt_staging_commercial/Examples/Qt-5.13.0/widgets/itemviews/build-addressbook-Qt_5_13_0_for_iOS-Debug/Debug-iphoneos/addressbook.app/addressbookclang: error: no such file or directory: '/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libz.tbd'
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                iknd Iikka Eklund
                Reporter:
                joaijala Johanna Äijälä
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes