安装CocoaPods报"RPC failed; curl 18 transfer closed with outstanding read data remaining"

报错内容

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

解决方法:
使用如下代码

bogon:~ user$ git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master

你可能感兴趣的:(安装CocoaPods报"RPC failed; curl 18 transfer closed with outstanding read data remaining")