请替换清华大学开源软件镜像站(https://mirror.tuna.tsinghua.edu.cn/):
pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
如果在clone过程中出现: curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 the remote end hung up unexpectedly early EOF index-pack failed这种错误,不要慌,多试几次...
如果多试了几次还是这样,那就换成热点吧.很快的.
网友评论