是否可以安装特定的pod? [英] Is it possible to install a specific pod?

查看:126
本文介绍了是否可以安装特定的pod?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我可以运行 $ pod install< podName> 并且只能安装该pod,但这似乎不起作用。有没有办法实现这个目标?

i was hoping i could run $pod install <podName> and be able to install ONLY that pod, but this doesn't seem to work. is there a way to accomplish this?

install 命令有一些可行的方式(例如 $ pod update< podName> 。是否有安装等价物?

The install command has something that works in this very way (e.g. $pod update <podName>. Is there an install equivalent?

推荐答案

是的,你可以!

首次使用 pod已过时找出哪个广告连播已过时,然后您知道哪个广告,例如,您的 AFNetworking 是最新的。

First use pod outdated find out which pod is outdated then you know which pod it is NOT, say for example, your AFNetworking is up-to-date.

然后使用
pod update AFNetworking ,cocoapod将安装新添加的pod而不触及其他pod(s )。

Then use pod update AFNetworking and cocoapod will install your newly added pod without touching other pod(s).

BTW,我使用的是最新的cocoapod 0.39,但我认为这个技巧适用于以前的cocoapod版本。

BTW, I am using latest cocoapod 0.39 but I think this trick works for previous cocoapod version.

我也使用这个技巧来删除我不使用的pod而不触及其他pod

I also use this trick to delete the pod I don't use without touching other pods

这篇关于是否可以安装特定的pod?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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