美文网首页移动端技术分享
关于cocoapods镜像替换

关于cocoapods镜像替换

作者: Mr_Atom | 来源:发表于2020-11-25 15:34 被阅读0次

    请替换清华大学开源软件镜像站(https://mirror.tuna.tsinghua.edu.cn/):

    cd ~/.cocoapods/repos 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这种错误,不要慌,多试几次...
    如果多试了几次还是这样,那就换成热点吧.很快的.

    相关文章

      网友评论

        本文标题:关于cocoapods镜像替换

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