pod 更新失败,提示需要CocoaPods更高级版本解决办法

转载自: http://www.cnblogs.com/brycezhang/p/3675670.html

$ sudo gem update --system // 先更新gem,国内需要切换源
$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
\*\*\* CURRENT SOURCES \*\*\*
https://ruby.taobao.org/
$ sudo gem install cocoapods // 安装cocoapods
$ pod setup

你可能感兴趣的:(pod 更新失败,提示需要CocoaPods更高级版本解决办法)