升級系統後 xcode 的 pod 發生了一些錯誤,重新執行 pod install 不一定在哪個庫 會發生如下錯誤
[!] Error installing QIYU_iOS_SDK
[!] /usr/bin/git clone https://github.com/qiyukf/QIYU_iOS_SDK.git /var/folders/hf/gjb2157j7s99712tnhwsrmzw0000gn/T/d20191125-60424-1vc5kss --template= --single-branch --depth 1 --branch 4.6.0
Cloning into '/var/folders/hf/gjb2157j7s99712tnhwsrmzw0000gn/T/d20191125-60424-1vc5kss'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
查了很多 資料,大家都是各顯神通了。
我執行了 pod update
就可以正常更新pod 庫了,希望可以幫到大家,請注意:在執行代碼時 一定將xcode 退出,注意不是關閉,是退出。