最近更新了Mac新系統(tǒng)后,發(fā)現(xiàn)項(xiàng)目在執(zhí)行pod update報(bào)錯(cuò)丁侄,如下:
? 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`
系統(tǒng)沒升級(jí)之前好好的朋鞍,這是怎么回事呢已添?
然后再嘗試
pod repo update --verbose
居然可以了妥箕。
MAC下git clone 太慢的解決方式
在/etc/hosts文件中添加
151.101.76.249 github.global.ssl.fastly.net
192.30.253.112 github.com