在终端敲 pod --versionci
能够得到pod的版本号;文档
更新pod能够用命令 sudo gem install cocoapodsit
sudo是暂时性得到root权限的意思。gem是什么意思也不清楚。io
mac终端命令不是很熟悉,还有待继续探索。查找cocoaPods官方文档能够了解更新pod的安装和更新pod的方法。date
pod 更新完成以后须要给项目从新加载pod里引用的第三方,因为是换版本加载,因此执行pod update后会显示:这个过程须要很长时间。file
Re-creating CocoaPods due to major version update.cocoapods
Updating local specs repositories终端
更新完成以后提示:权限
Pod installation complete! There are 12 dependencies from the Podfile and 16引用
total pods installed.
有时候pod程序版本更新后程序可能须要作些调整才能正常运行。