Pod设置失败

时间:2016-09-27 04:32:30

标签: cocoapods

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

也许,因为我网络不好?

1 个答案:

答案 0 :(得分:7)

执行此操作:

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

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

再次运行pod setup