unable to access ‘https://github.com/kattrali/cocoapods-xcode-plugin/’: Fail
原因就是之前不小心设置了代理,取消就OK
git config --global http.proxy
查询到当前设置了代理,所以我取消这个设置:
git config --global --unset http.proxy
然后又出来了问题
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
参考这篇文章就ok
https://www.jianshu.com/p/e828afede8cc
终于成功了,从昨天晚上到现在,老是有问题,烦烦