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。
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
命令应该就可以了。
网友评论