[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress Cloning into 'master

//联系人:石虎QQ: 1224614774昵称:嗡嘛呢叭咪哄

一、安装CocoaPods错误

错误如下:

[!]/usr/bin/Gitclone https://github.com/CocoaPods/Specs.gitmaster --progress

Cloning into 'master'...

fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': SSLRead()return error -9806

二、解决方法看截图

解决方法流程:

1:修改ruby源到https://ruby.taobao.org/

2:升级gem sudo gem update --system 也是正常的

3:安装CocoaPods执行正常:sudo gem install -n /usr/local/bin cocoapods

4:最后调用:pod setup

图1:

图2:

注意:以上是安装成功的图,方便操作,谢谢大家。

谢谢!!!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容