1、更新gem:
sudo gem update --system
2、查看gem源是否是最新的:
gem sources -l
3、升级cocoapods:
sudo gem install -n /usr/local/bin cocoapods
4、查看升级后的cocoapods版本:
pod --version
gem源:
https://ruby.taobao.org/
https://gems.ruby-china.org
sudo gem update --system
gem sources -l
sudo gem install -n /usr/local/bin cocoapods
pod --version
gem源:
https://ruby.taobao.org/
https://gems.ruby-china.org
本文标题:CocoaPods更新升级版本
本文链接:https://www.haomeiwen.com/subject/yqcgeftx.html
网友评论