[!] /usr/bin/git clone https://

作者: 石虎132 | 来源:发表于2017-09-01 23:51 被阅读201次

//联系人:石虎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:

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

谢谢!!!

相关文章

网友评论

    本文标题: [!] /usr/bin/git clone https://

    本文链接:https://www.haomeiwen.com/subject/ujlljxtx.html