pod install 问题

2018-05-15  本文已影响0人  Cyan_Queen

从cornerstone check out项目后,执行pod install

Analyzing dependencies

Setting up CocoaPods master repo

  $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress

  Cloning into 'master'...

  remote: Counting objects: 2139571, done.       

  remote: Compressing objects: 100% (421/421), done.   

报以下错误:

  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

解决办法:

git config --global http.postBuffer 524288000

然后在输入 pod install

上一篇下一篇

猜你喜欢

热点阅读