ios - 如何更新版本 Pod 包?
问题描述
这就是我现在在我的 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 更新到较新版本时。
此cocoapods 指南中的更多信息。
推荐阅读
- matlab - 将 MATLAB 二进制文件转换为特征稀疏矩阵
- python - Python:如何在while循环中满足两个完全不同的条件中的一个或两个
- swift - 如何使用 .firstTextBaseline 对齐与包含 GeometryReader 的视图
- javascript - 将 pdf 上传到 Cloudinary
- java - 使用另一个实体作为键和可嵌入作为值的休眠 JPA“未找到关联类”
- css - 这种布局是否可以通过 flexbox 实现且没有媒体查询?
- reactjs - 完整日历 - React - 如何在每月视图中禁用拖动事件
- django - 如何在用户注册过程中创建模型实例?姜戈
- sql - 甲骨文 - 有序列 ID 例如 ORDER BY 1 被允许的地方?
- amazon-web-services - 放大 @model @auth 不从 onCreate 添加所有者