I have updated Flurry via CocoaPods, but how can I check if Flurry was updated?
I mean the terminal shown me that everything is ok:
Installing Flurry
pod --version
to get the version of installed pod
The Podfile.lock
keeps track of the resolved versions of each Pod installed. If you want to double check that FlurrySDK is using 4.2.3, check that file.
Note: You should not edit this file. It is auto-generated when you run pod install
or pod update
The highest voted answer (MishieMoo) is correct but it doesn't explain how to open Podfile.lock. Everytime I tried I kept getting:
You open it in terminal by going to the folder it's in and running:
vim Podfile.lock
I got the answer from here: how to open Podfile.lock
You close it by pressing the colon and typing quit then enter
:quit //then return key
You can figure out version of Cocoapods by using below command :
pod —-version
o/p : 1.2.1
Now if you want detailed version of Gems and Cocoapods then use below command :
gem which cocoapods
(without sudo)
o/p : /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.1/lib/cocoapods.rb
sudo gem which cocoapods
(with sudo)
o/p : /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.1/lib/cocoapods.rb
Now if you want to get specific version of Pod present in Podfile then simply use command pod install
in terminal. This will show list of pod being used in project along with version.