pod install 问题

从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

你可能感兴趣的:(pod install 问题)