网站建设资讯

NEWS

网站建设资讯

MacOS安装cocoapods出现SSLconnection错误

gem source -r 
gem source -a 
gem install cocoapods

或者安装证书:

10年积累的成都网站制作、成都网站建设、外贸营销网站建设经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先网站制作后付款的网站建设流程,更有正阳免费网站建设让你可以放心的选择与我们合作。

This is what solved it for me: Install this certificate:https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem

In this folder: {rubyfolder}\lib\ruby\2.1.0\rubygems\ssl_certs

This way you don't have to add insecure sources.

More info here: https://gist.github.com/luislavena/f064211759ee0f806c88


网站标题:MacOS安装cocoapods出现SSLconnection错误
标题来源:http://cdweb.net/article/iicgjp.html