在编写此命令时:
$ sudo gem install cocoapods
我遇到此错误:
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)