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

木木老贼 互联网营销达人~

下面来看看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. Printorchangethepathtotheactivedeveloperdirectory.Thisdirectory
  3. controlswhichtoolsareusedfortheXcodecommandlinetools(forexample,
  4. xcodebuild)aswellastheBSDdevelopmentcommands(suchasccandmake).//phpfensi.com
  5. Options:
  6. -h,--helpprintthishelpmessageandexit
  7. -p,--print-pathprintthepathoftheactivedeveloperdirectory
  8. -s<path>,--switch<path>setthepathfortheactivedeveloperdirectory
  9. --installopenadialogforinstallationofthecommandlinedevelopertools
  10. -v,--versionprintthexcode-selectversion
  11. -r,--resetresettothedefaultcommandlinetoolspath

相关广告
  • Mac OS 10.10安装QT后Xcode not set up properly Mac OS 10.10安装QT后Xcode not set up properly Mac OS 10.10安装QT后Xcode not set up properly
相关阅读

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

2019/10/10 17:46:06 | 谷歌SEO算法 | 发外链