1.更新gem
sudo gem update --system
2.更新cocoapods
sudo gem install -n /usr/local/bin cocoapods --pre
3.更新仓库
pod repo update
1.更新gem
sudo gem update --system
2.更新cocoapods
sudo gem install -n /usr/local/bin cocoapods --pre
3.更新仓库
pod repo update