How do I check cocoapods version?
I looked in the official site - 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'...
Open Xcode. Click on "Project Navigator" Click on "Pods" Open The Pod you wanna know the version of.
To verify the installation, run “pod –version” which would display the version of cocoapods installed on your device.
When you run pod update PODNAME , CocoaPods will try to find an updated version of the pod PODNAME , without taking into account the version listed in Podfile. lock . It will update the pod to the latest version possible (as long as it matches the version restrictions in your Podfile ).
To check the version, enter kubectl version . In this exercise you will use kubectl to fetch all of the Pods running in a cluster, and format the output to pull out the list of Containers for each.
$pod --version
Gives you the version. found it on this guide here:
https://www.cocoanetics.com/2013/11/updating-cocoapods/
To check version of cocoapods from terminal:
For sudoless:
gem which cocoapods
For sudo:
sudo gem which cocoapods
My previous post
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With