iOS开发Cocoapods安装错误error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

在使用新的电脑安装cocoapods是,最后的步骤 pod setup时,报错RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54,在网上找了好多的方法,到最后使用:$ git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master 命令解决

你可能感兴趣的:(iOS开发Cocoapods安装错误error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54)