大晚上装CocoaPods出现错误坑爹

大晚上装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

posted @ 2015-11-11 01:41  菜鸟boy  阅读(122)  评论(0编辑  收藏  举报