1.
git clone fatal: unable to access 'https://github.com/carlon/demo.git/': Failed to connect to github.com port 443: Timed out
$ git config --global http.proxy
$ git config --global --unset http.proxy
设置代理,之后就可以 执行Git clone了
2.
setup 过程中如果出现
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
在你的Finder中进入到 /Users/abc/.cocoapods/repos/master,删掉master文件,再执行
git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
命令应该就可以了。
网友评论