根据http://code4app.com/article/cocoapods-install-usage的教程安装cocoaPods出现了以下错误。
错误1:[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master
错误1:[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master
解决1:解决上面这个问题, 使用这个命令: sudo xcode-select -switch
/Applications/Xcode.app/Contents/Developer