iOS - 开发技巧

Cocoapods安装错误error: RPC failed;

2019-07-12  本文已影响0人  SkyMing一C

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

上一篇下一篇

猜你喜欢

热点阅读