美文网首页iOS - 开发技巧
Cocoapods安装错误error: RPC failed;

Cocoapods安装错误error: RPC failed;

作者: SkyMing一C | 来源:发表于2019-07-12 10:34 被阅读0次

Cocoapods setup或install 过程中如果出现

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

随后再重新执行setup或install

pod setup

pod install

参考

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

相关文章

网友评论

    本文标题:Cocoapods安装错误error: RPC failed;

    本文链接:https://www.haomeiwen.com/subject/actekctx.html