首页 > 系统 > Mac OS > 正文

Mac OS 10.10安装QT后Xcode not set up properly

2020-10-10 19:15:52
字体:
来源:转载
供稿:网友

下面来看看Mac OS 10.10安装QT后Xcode not set up properly问题的解决办法,如果各位有朋友此类问题不防和小编来看看,在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.

  1. Usage:xcode-select [options] 
  2. Print or change the path to the active developer directory. This directory 
  3. controls which tools are used for the Xcode command line tools (for example,  
  4. xcodebuild) as well as the BSD development commands (such as cc and make).  //Cuoxin.com 
  5. Options: 
  6.   -h, --help                  print this help message and exit 
  7.   -p, --print-path            print the path of the active developer directory 
  8.   -s <path>, --switch <path>  set the path for the active developer directory 
  9.   --install                   open a dialog for installation of the command line developer tools 
  10.   -v, --version               print the xcode-select version 
  11.   -r, --reset                 reset to the default command line tools path

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表