您的位置:首页 > 产品设计 > UI/UE

xcode-select: error: tool ‘xcodebuild(转)

2015-10-11 23:51 429 查看
← Server Tomcat v7.0 Server at localhost
failed to start

sublime emmet插件修改 →


xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

发表于2015
年 5 月 28 日由admin

This problem happens when 
xcode-select
 developer directory was pointing to 
/Library/Developer/CommandLineTools
,
when a full regular XCode was required (happens when CLT are installed after XCode)

Solution:
Install Xcode (get it from http://developer.apple.com) if you don’t have it yet,
Point 
xcode-select
 to the Xcode Developer directory using the following command:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer


Note: Make sure your Xcode app directory is the same as in the address above; most notably, it’ll be probably 
/Applications/Xcode-Beta.app/Contents/Developer
 if
you installed beta XCode release instead.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  xcode-select