美文网首页
pod install 报错

pod install 报错

作者: KnowWhy | 来源:发表于2019-03-16 11:42 被阅读0次

运行 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

相关文章

网友评论

      本文标题:pod install 报错

      本文链接:https://www.haomeiwen.com/subject/rawjmqtx.html