Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
来源:互联网 发布:上海企浩 网络推广 编辑:程序博客网 时间:2024/05/14 22:19
今天用Qt Creator打开项目提示Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
应该是之前更新了xcode的原因,百度发现也有人遇到过 http://blog.csdn.net/firebolt2002/article/details/52549496
照里面的方法操作
1. 命令行输入
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
2. 命令行输入
sudo xcodebuild -license
输入 agree
3. 前往文件路径
/Users/xxxx/Qt5.7.0/5.7/clang_64/mkspecs/features/mac
编辑default_pre.prf文件,搜索xcrn,
isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))))
修改成
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))))
保存退出 重新打开项目,问题解决
0 0
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
- Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebu
- 解决mac下qt工程编译错误:Xcode not set up properly. You may need to confirm the license agreement by running
- error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
- QT 5.7 for iOS Xcode 8 Project ERROR: Xcode not set up properly. You may need to confirm the license
- Qt&Xcode 8 ERROR:Xcode not set up properly ... by running /usr/bin/xcodebuild.
- Qt Project ERROR: Xcode not set up properly
- Qt Project ERROR: Xcode not set up properly
- Qt5.7 Project ERROR: Xcode not set up properly
- 解决Mac上Qt出现Project ERROR: Xcode not set up properly错误方法
- Mac 上使用QT 出错:Project ERROR: Xcode not set up properly.
- Mac 上使用QT 出错:Project ERROR: Xcode not set up properly.
- Qt5.1.1: Xcode not set up properly
- an error has occurred while trying to access the log file. logging may not function properly
- QT报错Xcode not set up properly
- Error:Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle.
- Error: unknown host ‘android.oa.com'.You may need to adjust the proxy setting in Gradle.
- Can't find the new iOS Developer Program License Agreement I need to sign
- 11261
- TBS服务
- Fragment和Activity之间的通信(含接口回调)
- U-boot根目录下的config.mk详尽分析
- MapReduce计数器
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
- linux dts gpio sysfs example
- Leetcode解题报告:207. Course Schedule
- 11262
- Android adb 命令查看系统Service
- picasso基本使用
- unicode编码
- golang加载css和js
- Python学习总结笔记(8)-- Socket通信初探