获取安装的CocoaPods版本 [英] Get installed CocoaPods version

查看:128
本文介绍了获取安装的CocoaPods版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取我在Mac上安装的 CocoaPods 的版本?

我可以运行 sudo gem install cocoapods ,但是,我想获得已安装的版本而无需重新安装CocoaPods。

How do I get the version of CocoaPods I have installed on my Mac?
I could run sudo gem install cocoapods but, I want to get the installed version without reinstalling CocoaPods.

推荐答案

只需发布此内容以供将来查看,但您可以通过运行以下命令来简单地检查版本:

Just posting this for people to see in the future, but you can simply check the version by running the following command:

$ pod --version

这篇关于获取安装的CocoaPods版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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