卡在Cloning spec repo cocoapods from git@github.com:CocoaPods/Specs.git

pod setup
cd ~/.cocoapods/repos
git clone --depth 1 https://github.com/CocoaPods/Specs.git master

如果报错:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方法:
git config --global http.postBuffer 524288000

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐