Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. errors when building Qt 5.10 from Mac to target ios and ios simulator
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sxl_ois
    wrote on last edited by
    #1

    build Qt for ios

    S 1 Reply Last reply
    0
    • S sxl_ois

      build Qt for ios

      S Offline
      S Offline
      sxl_ois
      wrote on last edited by
      #2

      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:

      ./qtbase/mkspecs/features/uikit/xcodebuild.mk
      
       75 GENERIC_SIMULATOR_DESTINATION := "id=$(shell $(MAKEFILE_DIR)devices.py $(EXPORT_DEVICE_FILTER) | tail -n 1)"
      

      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.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sxl_ois
        wrote on last edited by
        #3

        Anyone familiar with this issue?

        jsulmJ 1 Reply Last reply
        0
        • S sxl_ois

          Anyone familiar with this issue?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sxl_ois
            wrote on last edited by
            #5

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

            jsulmJ 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

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

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • S sxl_ois

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

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

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

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved