Important: Please read the Qt Code of Conduct -

errors when building Qt 5.10 from Mac to target ios and ios simulator

  • build Qt for ios

  • Sorry for missing the content as I am using this post at the first time.

    I am trying to build qt 5.10 downloaded from git for ios on Mac. After downloading the source code, I using this configure:
    ./configure -xplatform macx-ios-clang -release

    My OS is High Sierra v10.13.2, and xcode is Xcode 9.2.

    I have this error while when I run "make" for a while:

    subprocess.CalledProcessError: Command '['/usr/bin/xcrun', 'simctl', 'list', 'runtimes', '--json']' returned non-zero exit status -6
    xcodebuild build -project sharedmemory.xcodeproj -scheme sharedmemory -configuration Release -destination "id=" -destination-timeout 1
    xcodebuild: error: missing value for key 'id' of option 'Destination'

    It looks like it can't generate the value for "id" at line 75 in the file:


    If my guessing is correct, what should I do to resolve this problem? Otherwise, what might cause this problem and how should I fix this issue?

    Thank you very much in advance.

  • Anyone familiar with this issue?

  • Lifetime Qt Champion

    @sxl_ois Do you rally have to build Qt by yourself? Why not just install Qt for iOS?

  • Hi Jsuim, I did not find the Qt libory for ios. Do you have a link for it? Thank you very much.

  • Lifetime Qt Champion


    The online installer as well as the offline installer offers both that module.

  • Lifetime Qt Champion

    @sxl_ois As @SGaist said simply use Qt online installer and select Qt for iOS there. Or use offline installer.

Log in to reply