美文网首页
cocoapods问题

cocoapods问题

作者: zmjchuan | 来源:发表于2018-06-28 10:36 被阅读10次
    1.

    [原文链接 pod update -- Failed to connect to GitHub to update the CocoaPods/Specs specs repo]
    说明:安装coocpods之后,因为镜像改变出现的问题,需要更新升级cocoapods

    pod update -- Failed to connect to GitHub to update the CocoaPods/Specs specs repo 问题

    2.

    错误信息:
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

    原文解决方法:
    $ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 关联Xcode和Command Line Tools。

    错误说明.png
    3.

    setup 过程出现error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 可以执行 $ git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master 命令应该就可以了。

    错误图示

    相关文章

      网友评论

          本文标题:cocoapods问题

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