美文网首页
cocoapods pod install报错 error: R

cocoapods pod install报错 error: R

作者: 帅气的阿斌 | 来源:发表于2018-05-15 10:07 被阅读591次

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno *错误码*

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

*错误码*

一、

.......YSCALL, errno 54

.......YSCALLYSCALL, errno 60

上面两个是Ruby镜像问题,因为一开始大家基本上用的是淘宝的镜像,不过现在淘宝镜像不做维护了,所以要换个

更换镜像方法:

命令行:

1、查看当前使用的镜像

gem sources -l

2、移除当前镜像 ***就是第一步命令出现的镜像路径https://.......

gem sources --remove ***

3、换上新的镜像

gem source -a https://gems.ruby-china.org/

gem source -a https://gems.ruby-china.com/

二、

.......YSCALL, errno 36

本地多装了xcode导致的问题

解决方案: sudo xcode-select -switch ***对应的xcode...路径

打开终端命令行,输入一下命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

三、.......YSCALL, errno 9806 这个应该是网络问题,挂个vpn或者过段时间再试试吧0.0

相关文章

网友评论

      本文标题:cocoapods pod install报错 error: R

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