Since Xcode 8 installation, i got this error when creating Qt Console Project:
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
I have re installed Qt and Qt Creator. I have read a lot of similar post, run xcode-select and stuff. This is crazy, there is nothing to do, still same error.
I am wondering what Qt exactly do with Xcode ?
(this is Qt 5.7)
Just to complete the answer of Yevgeniy Logachev, you have to use the solution of Luca but for the iOS path, if you want to compile for iOS devices :
<Qt installation folder>/5.7/ios/mkspecs/features/mac/default_pre.prf
The answer from Luca is correct, this is a Qt bug and more details can be found here:
https://bugreports.qt.io/browse/QTBUG-55649
Including progress on the release/fix.
To avoid error 'Current iPhone SDK version (10.0) is too old. Please upgrade Xcode.' when building for iOS you need beside changing 'xcrun' to 'xcodebuild' (as says Luca Angioloni) also change minimum sdk version to "10.0". Open file:
And replace:
With:
UPD: Qt 5.7.1 have already worked with xcode 8 well, just update your Qt to this (or higher) version
For the moment, untill Qt updates this is a fix:
Step 1:
Open the file:
Step 2:
Replace:
With: