2016-09-27 76 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