错误:
[!] /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
解决Git Clone错误
本文解决了一个常见的Git克隆错误,该错误提示为activedeveloperpath不存在。通过使用xcode-select命令指定了正确的Xcode路径来解决问题。
1万+

被折叠的 条评论
为什么被折叠?



