"pod安装"不会更新现有的pod [英] 'pod install' doesn't update an existing pod

查看:102
本文介绍了"pod安装"不会更新现有的pod的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用pod install更新我的广告连播,并且发现它无法正确更新 ,除非我删除了原始广告连播 .

I am trying to update my pod using pod install and finding that it doesn't update properly unless I delete the original pod.

是否需要执行一些额外的步骤,或者是否存在导致更新失败的常见错误?

Is there some extra step required or is there a common mistake that makes updates fail?

推荐答案

我不确定从哪个版本开始,但是如果将cocoapods安装更新为最新版本,则会找到两个新命令来帮助您解决此问题.

I'm not sure from which version, but if you update your cocoapods installation to the latest version, you'll find two new commands to help with this.

pod outdated

这将列出所有具有可用更新的窗格.

This will list all pods that have updates available.

pod update

这将更新上一条命令中列出的Pod

This will update the pods listed in the previous command

这篇关于"pod安装"不会更新现有的pod的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆