Unsolved 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 -releaseMy 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.
-
Anyone familiar with this issue?
-
@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.
-
Hi,
The online installer as well as the offline installer offers both that module.
-