在終端敲 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程序版本更新後程序可能須要作些調整才能正常運行。