Can't Install Cocoapods

Hi!
I tried installing cocoapods and this is the message I received

ERROR: Could not find a valid gem ‘cocoapods’ (>= 0), here is why:
** Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (https://rubygems.org/latest_specs.4.8.gz)**

What should I do?

Hi there,

looks like and ssl version problem/certificate.
So follow this troubleshooting guide, it should help you move forward

https://bundler.io/v1.16/guides/rubygems_tls_ssl_troubleshooting_guide.html

Good luck,
Mircea

1 Like