CocoaPods最新安裝及跳過podsetup快速安裝教程
問題1: pod install 比較大的文件加袋,而且你的網(wǎng)比較差收毫,經(jīng)常中斷的話氯葬,比如
[!] 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
增加最低速度時(shí)間呜象,慢慢下斤讥,依然可以下下來