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

一、安装CocoaPods错误

错误如下:

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --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:

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


图2:

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


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


谢谢!!!

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-05-25
  • 2021-08-08
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2021-12-01
  • 2021-04-07
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案