I have installed cocoapods, but when installing the pods in my project, I get the following error:
Albertos-Mac:Proyecto1 alberto$ 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 -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
This appears to me after about 15 minutes or more that stays like this:
Albertos-Mac:Proyecto1 alberto$ pod install
Re-creating CocoaPods due to major version update.
Setting up CocoaPods master repo
EDITED
When uninstalling everything and reinstalling it, I get this error:
Albertos-Mac:Users alberto$ sudo gem install cocoapods
Fetching: cocoapods-core-1.0.1.gem (100%)
Successfully installed cocoapods-core-1.0.1
Fetching: cocoapods-downloader-1.1.0.gem (100%)
Successfully installed cocoapods-downloader-1.1.0
Fetching: cocoapods-1.0.1.gem (100%)
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod
Albertos-Mac:Users alberto$
And if I try to do a setup pod afterwards, this appears:
Albertos-Mac:Users alberto$ sudo gem install cocoapods
Fetching: cocoapods-core-1.0.1.gem (100%)
Successfully installed cocoapods-core-1.0.1
Fetching: cocoapods-downloader-1.1.0.gem (100%)
Successfully installed cocoapods-downloader-1.1.0
Fetching: cocoapods-1.0.1.gem (100%)
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod
Albertos-Mac:Users alberto$
Any solution? Thanks