今天更新到 Xcode 8 后,我无法再构建 Qt 项目。尽管按照 this answer 的说明进行操作,我还是收到以下错误。
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
如何解决?
最佳答案
更清洁的解决方案
cd /Applications/Xcode.app/Contents/Developer/usr/bin/
sudo ln -s xcodebuild xcrun
2023 年更新:
如果您收到 ln: xcrun: Operation not allowed
设置 -> 隐私和安全 -> 应用程序管理 -> 终端打开
关于XCode 8 错误 "Project ERROR: Xcode not set up properly",即使许可证已被接受,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39492617/