Solved How to compile an iOS application in Qt?
-
I installed from a virtual disk. If I write the path of the compiler to Clang, will it work?
-
This post is deleted! -
Maybe this version of Qt does not work, I need to install another version?
-
How did you install Xcode ?
Since your configuration seems to be broken, I'd go with a full removal and new installation of the Qt SDK. Only install Qt for macOS and Qt for iOS.
-
Reinstalled. Works compiler emulator ios. The IOS compiler does not work. Compiled a project for the IOS emulator. What to do next? What files can I use on ios? Or I need something else to do with .xcodeproj file?
-
Then the first you have to do is to build a dummy project within Xcode and make it run on your device. There's no use trying to setup Qt if Xcode doesn't work properly in the first place.
And again, how did you install Xcode ? What exact version is it ?
-
Xcode10.1
I checked, Xcode works. -
"Xcode works" is a bit light on information. Did you successfully build and start an application on your device ?
-
I don't know much about Xcode. I created a project in Xcode and ran it on the ios emulator from Xcode.
-
You do realise that we have been asking you to build that application and then run it on your device to ensure that you have everything working correctly on that side since it's what seem to be not working currently ?
-
I don't have IOS device
-
I think I've set everything up. All thanks.
-
I had a somehow similar problem when I set up my new Mac mini to macOS 10.14 and Xcode to version 11, in order to support iOS 13. No iOS kit available. I thought I had installed Xcode command line tools as required. But this was not really recognized by Xcode. I had to open Xcode - Preferences - Locations, and in the Command Line Tools drop down list select the entry "Xcode 1.1 (11A1027)", which was already in the list, but not selected before.
This made the Qt installer message "You need to install Xcode and set up Xcode command line tools" disappear, and after Qt installation I found all the iOS Kits being offered, which I had missed before.Maybe this can help someone else.
-
This post is deleted! -
-
@BerndJ Great! Thank you, saved me a lot of time reading every possible (wrong) answer..