Fix 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”

  • Post published:February 9, 2017

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