[cocoaPods]在pod search AFNetworking以后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)

www.MyException.Cn  网友分享于:2015-07-24  浏览:0次

[cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)

在pod search AFNetworking之后遇到了这个问题

[cocoaPods]在pod search AFNetworking以后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)_第1张图片

执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer (-switch 后面加上你的Xcode.app包内容里的Developer的文件夹路径即可)

你可能感兴趣的:([cocoaPods]在pod search AFNetworking以后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.))