查看當(dāng)前 Cocoapods版本 pod --version
1.檢查當(dāng)前 ruby 源,使用 http://gems.ruby-china.com
gem source -l 查看源
gem sources --remove 舊源
gem sources -a 新源
- 更新Cocoapods
sudo gem install cocoapods - 檢查當(dāng)前Cocoapods版本
pod --version - 完
查看當(dāng)前 Cocoapods版本 pod --version
1.檢查當(dāng)前 ruby 源,使用 http://gems.ruby-china.com
gem source -l 查看源
gem sources --remove 舊源
gem sources -a 新源
sudo gem install cocoapods
pod --version