[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git masterCloning into 'master'...
error: RPC failed; result=18, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方案 »

  1.   

    应该是缓冲区不够大,执行下面这个命令
    $ git config --global http.postBuffer 24288000确认一下有没改过来
    $ git config --list然后去重试一下
      

  2.   

    $ sudo gem uninstall cocoapods$ repo remove master $ sudo gem install -n /usr/local/bin cocoapods
    Password:
    Successfully installed cocoapods-1.0.1
    Parsing documentation for cocoapods-1.0.1
    Done installing documentation for cocoapods after 1 seconds
    1 gem installed$ pod setup  
    Setting up CocoaPods master repo