cocoa pods 升级

https://www.jianshu.com/p/085c239d146b

http://www.mamicode.com/info-detail-3000536.html

如未安装cocoapods,可参考cocoapods安装

很长一段时间未使用,更新不到最新的三方库,便要升级cocoapods

1、升级Ruby环境

sudo gem update --system

2、更新cocoapods

sudo gem install -n /usr/local/bin cocoapods

3、更新repo(这一步会比较漫长。。。)

pod repo update

 或是

pod install --repo-update

Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are of...

2020年7月9日

刚开始以为是网络问题,当时访问github都是可以登录的,后来google了下 发现需要升级

To solve this, first you need to update openssl, then ruby, then cocoapod.

具体解决:

1. brew upgrade openssl
2. brew upgrade ruby
3. pod repo update master

成功:

 
image.png

参考:https://www.jianshu.com/p/2309992d3115

如果您发现本文对你有所帮助,如果您认为其他人也可能受益,请把它分享出去。



作者:wangyu2488
链接:https://www.jianshu.com/p/085c239d146b
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
原文地址:https://www.cnblogs.com/itlover2013/p/13770942.html