error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

setup 过程中如果出现

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
错误,就执行

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

命令应该就可以了。

你可能感兴趣的:(error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54)