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

来源:互联网 发布:哈尔滨linux运维招聘 编辑:程序博客网 时间:2024/05/18 01:02

错误:

[!] /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-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


0 0
原创粉丝点击