【macbook pro】Mac OS 10.10安装QT后Xcode not set up properly

时间:2019-09-06  来源:Perl  阅读:

在Mac OS10.10上安装Qt5,因为仅仅安装了Xcode6-Beta,因此,加载项目的时候提示错误
Xcode not set up properly. You may need to confirm the license agreement...

解决方案:

执行以下命令

sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer

该命令修改Xcode的开发目录为/Applications/Xcode6-Beta.app/Contents/Developer。

Usage: xcode-select [options]

Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).

Options:
  -h, --help                  print this help message and exit
  -p, --print-path            print the path of the active developer directory
  -s , --switch   set the path for the active developer directory
  --install                   open a dialog for installation of the command line developer tools
  -v, --version               print the xcode-select version
  -r, --reset                 reset to the default command line tools path

【macbook pro】Mac OS 10.10安装QT后Xcode not set up properly

http://m.bbyears.com/jiaocheng/66570.html

推荐访问:mac地址 macos mac美国官网 mac显示隐藏文件 mac卸载软件 mac官网 mac截图快捷键 mac地址查询 mac壁纸
相关阅读 猜你喜欢
本类排行 本类最新