user7155454
user7155454

Reputation:

Cocoapods fails to install by manual installation

I am stuck at this error. I am trying to install again and again but still it gives same error. please help me to resolve this issue.

cd ~/.cocoapods/repos
Jawaids-Mac:repos jawaidahmed$ git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
remote: Counting objects: 916492, done.
remote: Compressing objects: 100% (13641/13641), done.
error: RPC failed; curl 56 SSLRead() return error -98063.00 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Upvotes: 1

Views: 169

Answers (1)

Muhammad Zeeshan
Muhammad Zeeshan

Reputation: 2451

I have not tried this but i think it will work. Work around could be:

  • Open your browser Goto Cocoapods Specs Repo and clone it by using Source tree or command line or whatever you prefer.
  • Once cloned open finder then CMD + Shift + G and type ~/ then create a folder named .cocoapods and paste the cloned repo. Finally the structure must looks like this:

enter image description here

  • If you are unable to see the hidden files and folder then you need to run the following command and relaunch your finder.

defaults write com.apple.finder AppleShowAllFiles YES

Upvotes: 1

Related Questions