Это старая версия документа!
Xcode
Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
There is a similar problem with building Qt itself with Xcode 8. I have the Qt 5.7 source code on my machine with Xcode 8 GM, and I when I run 'configure' I get the same message about needing to agree to the Xcode license. Going through the agree procedure (which is described wrongly in the error message, incidentally) makes no difference. (https://forum.qt.io/topic/71119/project-error-xcode-not-set-up-properly/7)
5.6
$ cd /opt/Qt5.6.1/5.6/ $ echo "$(cat clang_64/mkspecs/features/mac/default_pre.prf | sed -e 's~isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))~isEmpty($$list($$system(\"/usr/bin/xcrun -find xcodebuild 2>/dev/null\")))~g')" > clang_64/mkspecs/features/mac/default_pre.prf
5.7
$ cd /opt/Qt5.7.0/5.7/ $ echo "$(cat clang_64/mkspecs/features/mac/default_pre.prf | sed -e 's~isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))~isEmpty($$list($$system(\"/usr/bin/xcrun -find xcodebuild 2>/dev/null\")))~g')" > clang_64/mkspecs/features/mac/default_pre.prf