当我运行pod setup
时,我收到此错误:
LeodeMacBook-Pro:repos Leo$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
也许,因为我网络不好?
答案 0 :(得分:7)
执行此操作:
sudo rm -fr ~/.cocoapods/repos/master
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
再次运行pod setup
。