2016-09-27 81 views
1

当我运行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 

也许,是因为我不好联网?

回答

3

做到这一点确定:

sudo rm -fr ~/.cocoapods/repos/master 

git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master 

不是再次运行pod setup