您的位置:首页 > 移动开发

安装cocoaPods出现错误error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not

2015-10-25 09:45 561 查看
错误:

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1

xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)


解决方法:

$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: