[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master


大晚上装CocoaPods出现错误坑爹

[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master


xcrun: error: active developer path ("/Users/xiakejie/工具/Xcode 2.app/Contents/Developer") does not exist, use xcode-select to change


 
  
解决上面这个问题, 使用这个命令: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
 
  

你可能感兴趣的:(iphone开发)