安装cocoaPods出现错误error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not
错误:[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use `xcode-se
·
错误:
[!] /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
更多推荐
已为社区贡献1条内容
所有评论(0)