美文网首页Cocoapods
CocoaPods执行 pod setup 遇到的问题

CocoaPods执行 pod setup 遇到的问题

作者: codeTao | 来源:发表于2018-07-25 18:36 被阅读2次

CocoaPods执行 pod setup后显示错误信息

$pod setup
  [!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master

  Cloning into 'master'...
  error: RPC failed; result=56, HTTP code = 200
  fatal: The remote end hung up unexpectedly
  fatal: early EOF
  fatal: index-pack failed

解决方案:
cd 任意的一个使用Git的项目

执行

   git repack --max-pack-size=500m -a -d
   pod setup

相关文章

网友评论

    本文标题:CocoaPods执行 pod setup 遇到的问题

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