$ gem sources -l
$ gem sources --remove https://rubygems.org/
添加新的镜像:
$ gem source -a https://gems.ruby-china.com
升级到指定版本:
sudo gem install cocoapods -v 1.7.5
或
sudo gem install -n /usr/local/bin cocoapods -v 1.7.5
$ gem sources -l
$ gem sources --remove https://rubygems.org/
添加新的镜像:
$ gem source -a https://gems.ruby-china.com
升级到指定版本:
sudo gem install cocoapods -v 1.7.5
或
sudo gem install -n /usr/local/bin cocoapods -v 1.7.5
本文标题:Pod 版本升级
本文链接:https://www.haomeiwen.com/subject/iqeqrktx.html
网友评论