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

风吹起的地方不是因为风动,是因为心动
原文地址:https://www.cnblogs.com/GLbog/p/4955018.html