下面來(lái)看看Mac OS 10.10安裝QT后Xcode not set up properly問(wèn)題的解決辦法,如果各位有朋友此類(lèi)問(wèn)題不防和小編來(lái)看看,在Mac OS10.10上安裝Qt5,因?yàn)閮H僅安裝了Xcode6-Beta,因此,加載項(xiàng)目的時(shí)候提示錯(cuò)誤.
Xcode not set up properly. You may need to confirm the license agreement...
解決方案,執(zhí)行以下命令:
sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
該命令修改Xcode的開(kāi)發(fā)目錄為/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). //Vevb.com
- Options:
- -h, --help print this help message and exit
- -p, --print-path print the path of the active developer directory
- -s <path>, --switch <path> 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
新聞熱點(diǎn)
疑難解答
圖片精選