如何更新版本Pod包?

kyo*_*kyo 2 xcode ios cocoapods

这就是我的 Pod 文件中现在的内容

platform :ios, '9.0'
use_frameworks!
target 'ListHue' do 
  pod 'RealmSwift'
  pod 'SwipeCellKit'
  pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'
end
Run Code Online (Sandbox Code Playgroud)

我想更新到这个

platform :ios, '9.0'
use_frameworks!
target 'ListHue' do 
  pod 'RealmSwift'
  pod 'SwipeCellKit','2.5.0'
  pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'
end
Run Code Online (Sandbox Code Playgroud)

当我需要更新我的 Pod 包时,我需要运行什么命令?

pod updatepod install两者兼而有之?

Ker*_*ros 7

仅当您想要将 pod 更新到较新版本时,才用于pod install在项目中安装新 pod pod update [PODNAME](如果您想将所有 pod 更新到最新版本,则无需安装名称)。

更多信息请参阅cocoapods 指南。