MAC OS 10.12.3 安装cocoapods 问题

MAC OS 10.12.3 安装cocoapods 执行 pod setup 报错:

error: RPC failed; curl 56 SSLRead() return error -36 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

解决方案:
1:移除repo master
sudo rm -fr ~/.cocoapods/repos/master

2:将
https://github.com/CocoaPods/Specs.git ~ clone 到 ~/.cocoapods/repos/master 目录下

git clone
https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
3:重新执行 pod setup


posted @ 2017-05-10 10:10  o.0...w  阅读(184)  评论(0编辑  收藏  举报