这是我的 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
我要更新到这里
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
当我需要更新我的 Pod 包时,我需要运行什么命令?
pod update
或 pod install
或两者?
最佳答案
使用 pod install
在你的项目中安装新的 pod 和 pod update [PODNAME]
(如果你想将所有的 pod 更新到最新版本,则不使用名称)仅当您想要将 pod 更新到较新版本时。
更多信息请参见 this cocoa 足指南。
关于ios - 如何更新版本 Pod 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52544029/