我了解以下命令将更新单个pod:pod update< podname> ;.但是,这还会更新先前安装的其他pod(未包含在update命令中的pod)的依赖关系。有没有办法更新单个pod,单独留下所有其他依赖项?
确保您安装了最新版本的CocoaPods。 $ pod update POD最近被引入。
见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 inPodfile.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.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。