今天更新到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.
如何解决?
解决方法
我按照这些说明(在这里找到:
https://forum.qt.io/topic/71119/project-error-xcode-not-set-up-properly/7),设法使用XCode 8 / MacOX Sierra构建的capybara-webkit(使用QT)
>移动到安装Qt的文件夹。
>在文本编辑器中打开文件在Qt_install_folder / 5.7 / clang_64 / mkspecs / features / mac / default_pre.prf
>找到文本行(对我来说,这是第15行):
isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))): \
替换行:
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
>保存&重新编译
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。