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

iOS simulator only works on x86_64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.7.1
    • Build tools: qmake
    • None
    • iOS/tvOS/watchOS

      Building an iOS app for simulator, with QMAKE_APPLE_SIMULATOR_ARCHS=arm64

      should in theory target the ARM64 simulator

      However, build fails with:

      ld: building for 'iOS-simulator', but linking in object file (/Qt/6.7.1/ios/lib/objects-Release/Gui_resources_1/.qt/rcc/qrc_qpdf_init.cpp.o) built for 'iOS' 
      clang: error: linker command failed with exit code 1

      I don't even have QtPDF installed, so not sure what's going on.

      Attached a minimal repro.

      qmake && make

      (requires Apple Silicon mac)

       

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

            qtbuildsystem Qt Build System Team
            iamsergio Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes