//联系人:石虎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:
注意:以上是安装成功的图,方便操作,谢谢大家。