Run pod setup
setup the cocoapods successfully
heweimingdeMacBook-Pro:~ heweiming$ pod setup
Setting up CocoaPods master repo
[!] /usr/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
cocoapods version is 1.0.1
system version OS X EI Capitan 10.11.5 (15F34)
I just ran "sudo gem install -n /usr/local/bin cocoapods"
This is successful.
But when I was running the "pod setup",it threw a issues that "Setting up CocoaPods master repo
[!] /usr/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"
I've retried many times but I can't fix this
Looks like some kind of issue with your connection to GitHub. I'm assuming you're getting the same result when running /usr/bin/git clone https://github.com/CocoaPods/Specs.git master
outside of CocoaPods?
Oh,thanks! I‘ve taken your advice.Then I need to config “.gitconfig” in my mac by "git config --global user.email [email protected]",adding my email address.But I dont't konw why it will work.I didn't config that file before I changed my macbook.At last,thank you very much!
Hi @Mingmingmew, if you're still facing the issue. You should look at the comment by @segiddins here. It worked for me and many others. Hope it works for you too. :)
Most helpful comment
Hi @Mingmingmew, if you're still facing the issue. You should look at the comment by @segiddins here. It worked for me and many others. Hope it works for you too. :)