Skip to content

Instantly share code, notes, and snippets.

@iTofu
Last active September 27, 2016 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iTofu/4a19c8b8018db59fd5366868564efa64 to your computer and use it in GitHub Desktop.
Save iTofu/4a19c8b8018db59fd5366868564efa64 to your computer and use it in GitHub Desktop.
Pod setup failed
LeodeMacBook-Pro:repos Leo$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master

Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Do this:

sudo rm -fr ~/.cocoapods/repos/master

git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment