最近更新了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
网友评论