I am trying to install my cocoa pods.
After doing everything and installing it i got the error :
[!] Unable to add a source with url [email protected]:CocoaPods/Specs.git named master-1
And to fix that error I tried:
cd ~/.cocoapods/repos
git clone https://github.com/CocoaPods/Specs.git master
Then I get this error which I don't know how to deal with:
remote: Counting objects: 854549, done.
remote: Compressing objects: 100% (3453/3453), done.
error: RPC failed; curl 56 SSLRead() return error -9806 MiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
The git clone
is indeed what issue 4293 recommends.
But if the clone fails with a "RPC failed; result=56
" error message, check your git buffer:
git config --global http.postBuffer 2M
Then try again your git clone
.
If not, investigate with:
GIT_CURL_VERBOSE=1 git clone https://github.com/CocoaPods/Specs.git
Finally, if https does not want to cooperate, try the ssh url:
cd ~/.cocoapods/repos
git clone [email protected]:CocoaPods/Specs.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With