[MAC] OS X Xcode 8.x.x (8.2.1) and Qt 5.x (5.6 and 5.7) Project error: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Solution for the following Qt Creator – Project ERROR:
“Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Edit file: /<Qt.app path>/5.6/clang_64/mkspecs/features/mac/default_pre.prf

Replace:  isEmpty($$list($$system(“/usr/bin/xcrun -find xrun 2>/dev/null”))): \

By:            isEmpty($$list($$system(“/usr/bin/xcrun -find xcodebuild 2>/dev/null”))): \

Bildschirmfoto 2017-02-09 um 20.46.57

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.