cocoa - 如何在不触及其他依赖项的情况下更新单个 Pod

标签 cocoa cocoapods podfile pod-install

据我所知,以下命令将更新单个 Pod:pod update <podname> 。但是,这还会更新您之前安装的其他 pod(未包含在更新命令中的 pod)的依赖项。有没有办法更新单个 Pod 并保留所有其他依赖项?

最佳答案

确保您安装了最新版本的 CocoaPods。

$ pod update PODNAME 最近推出。

参见this issue thread for more information :

$ pod update

When you run pod update SomePodName, CocoaPods will try to find an updated version of the pod SomePodName, without taking into account the version listed in Podfile.lock. It will update the pod to the latest version possible (as long as it matches the version restrictions in your Podfile).

If you run pod update without any pod name, CocoaPods will update every pod listed in your Podfile to the latest version possible.

关于cocoa - 如何在不触及其他依赖项的情况下更新单个 Pod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26351086/

相关文章:

objective-c - 了解 Cocoa 中最近使用的文件

ios - 如何使用 Reachability 的不同实现来解决不同的 CocoaPods?

ios - 在子项目(框架项目)中使用 3rd 方 pod

ios - C编译器无法创建可执行文件(安装Cocoapods)

ios - 使用 cocoapods-1.0.1 下载时 Coreplot 抛出错误

macos - Cocoa:组件管理器未找到 64 位应用程序中的所有组件

macos - Xamarin 中的 MDItem 类

cocoa - NSTableView 排序

ios - Cocoapods 使用_frameworks!问题

ios - 有没有办法在 flutter 中从 iOS 中排除一个包?