- gem sources -l 先看下现在自己的环境地址
- gem sources --remove 删除掉现在的
- gem sources -a http://gems.ruby-china.com/增加rubychina的镜像
- sudo rm -fr ~/Library/Caches/CocoaPods/
- sudo rm -fr ~/.cocoapods/repos/master/
- sudo gem install -n /usr/local/bin cocoapods
本文标题:升级mac系统后cocospod升级失效解决方法
本文链接:https://www.haomeiwen.com/subject/auorrqtx.html
网友评论