pod install 报错

2019-03-16  本文已影响0人  KnowWhy

运行 pod install --no-repo-update --verbose 时报错

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

究其原因是因为 curlpostBuffer 的默认值太小,我们需要调整它的大小,在终端重新配置大小。

重新配置大小为1G,配置语句如下:

git config --global http.postBuffer 1073741824

查看是否配置成功语句:

git config —l
上一篇 下一篇

猜你喜欢

热点阅读