[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
删掉.cocoapods文件是一种解决方案。
cd ~
rm -rf .cocoapods
或者
open ~
手动删除,前提是显示隐藏文件。