error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
来源:互联网 发布:西安企业预算软件 编辑:程序博客网 时间:2024/06/11 22:21
(1)Xcode版本在8.0以上要安装下面步骤修改。
>= Xcode 8
In Xcode 8, as Bruce said, this happens when Qt tries to find xcrun
when it should be looking for xcodebuild
.
Step 1:
Open the file:
Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf
Step 2:
Replace:
isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))
With:
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")))
(2)Xcode版本在8.0以下,按照下面的步骤修改。
~> Xcode 8
Before Xcode 8, this problem occurs when command line tools are installed after Xcode is installed. What happens is the Xcode- select
developer directory gets pointed to /Library/Developer/CommandLineTools
.
Step 1:
Point Xcode-select
to the correct Xcode Developer directory with the command:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Step 2:
Confirm the license agreement with the command:
xcodebuild -license
This will prompt you to read through the license agreement.
Enter agree
to accept the terms.
- error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
- Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebu
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
- Qt&Xcode 8 ERROR:Xcode not set up properly ... by running /usr/bin/xcodebuild.
- 解决mac下qt工程编译错误:Xcode not set up properly. You may need to confirm the license agreement by running
- QT 5.7 for iOS Xcode 8 Project ERROR: Xcode not set up properly. You may need to confirm the license
- 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
- Qt5.1.1: 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.
- QT报错Xcode not set up properly
- The LogManager was not properly installed (you must set the "java.util.logging.manager" system prop
- The developers of this app have not set up this app properly for Facebook Login?
- WARNING: The host 'localhost' could not be looked up with /usr/local/mysql//bin/resolveip
- Mac OS 安装Qt 编译时提示 running /usr/bin/xcodebuild
- Android ImageView 正确使用姿势
- A*算法-----草稿http://blog.csdn.net/b2b160/article/details/4057781
- iwebshop功能添加——邮箱邀请注册增加积分
- 铝电解电容寿命计算
- leetcode 463. Island Perimeter
- error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
- java中的set和get方法
- 人脸识别引擎SeetaFaceEngine中Identification模块使用的测试代码
- 微软再发力,宣布开源JDBC
- Linux常用命令-文件处理
- 详解Linux bash变量
- 在win7下python的xlrd和xlwt的安装于应用
- Swift3.0学习笔记-Type Casting
- 《CLR via C#》读书笔记-异步编程(二)