CocoaPods最新安裝及跳過podsetup快速安裝教程
問題1: pod install 比較大的文件,而且你的網比較差,經常中斷的話,比如
[!] Error installing GCDWebServer
[!] /usr/bin/git clone https://github.com/swisspol/GCDWebServer.git /var/folders/1j/gjshtk1n5q10t3dcf5pdtdqh0000gn/T/d20190618-1547-syynlt --template= --single-branch --depth 1 --branch 3.5.2
Cloning into '/var/folders/1j/gjshtk1n5q10t3dcf5pdtdqh0000gn/T/d20190618-1547-syynlt'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: the remote end hung up unexpectedly
可以采用命令
$ git config --global http.lowSpeedLimit 0
$ git config --global http.lowSpeedTime 999999
增加最低速度時間,慢慢下,依然可以下下來