如何查看 cocoapods 版本?

How do I check cocoapods version?

如何查看 cocoapods 版本?

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

但只找到如何安装\更新最新版本,或解决安装的gem 等的版本冲突...

$pod --version

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

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

从终端检查 cocoapods 的版本:

对于 sudoless:

gem which cocoapods

对于 sudo:

sudo gem which cocoapods

My previous post