You need at least git version 1.8.5 to use CocoaPods

在终端输入
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

其中,/Applications/Xcode.app/Contents/Developer为对应的Developer路径,Xcode.app在哪个文件夹,就对应哪个文件夹,如:文件夹路径/Xcode.app/Contents/Developer(文件夹路径替换成实际路径)

你可能感兴趣的:(You need at least git version 1.8.5 to use CocoaPods)