我如何查看cocoapods版本?

时间:2022-06-30 20:32:35

How do I check cocoapods version?

我如何查看cocoapods版本?

I looked in the official site - https://guides.cocoapods.org/using/getting-started.html

我查看了官方网站 - https://guides.cocoapods.org/using/getting-started.html

but found only how to install \ update the latest version, or solving versions conflicts of installed gems etc'...

但只发现如何安装\更新最新版本,或解决安装宝石等版本冲突'...

2 个解决方案

#1


21  

$pod --version

Gives you the version. found it on this guide here:

给你版本。在此指南中找到了它:

https://www.cocoanetics.com/2013/11/updating-cocoapods/

#2


7  

To check version of cocoapods from terminal:

要从终端检查cocoapods的版本:

For Sudoless:

gem which cocoapods

For Sudo:

sudo gem which cocoapods

My previous post

我以前的帖子

#1


21  

$pod --version

Gives you the version. found it on this guide here:

给你版本。在此指南中找到了它:

https://www.cocoanetics.com/2013/11/updating-cocoapods/

#2


7  

To check version of cocoapods from terminal:

要从终端检查cocoapods的版本:

For Sudoless:

gem which cocoapods

For Sudo:

sudo gem which cocoapods

My previous post

我以前的帖子