美文网首页
Mac系统升级后关于CocoaPods的一些坑

Mac系统升级后关于CocoaPods的一些坑

作者: 若书R | 来源:发表于2018-11-15 08:49 被阅读0次

最近更新了Mac新系统后,发现项目在执行pod update报错,如下:

  remote: Enumerating objects: 59106, done.       

  remote: Counting objects: 100% (59106/59106), done.       

  remote: Compressing objects: 100% (24/24), done.       

  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

[!] CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`

系统没升级之前好好的,这是怎么回事呢?

然后再尝试

pod repo update --verbose

居然可以了。

MAC下git clone 太慢的解决方式

在/etc/hosts文件中添加

151.101.76.249 github.global.ssl.fastly.net

192.30.253.112 github.com

相关文章

网友评论

      本文标题:Mac系统升级后关于CocoaPods的一些坑

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