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
[CocoaPods]
CocoaPods
program that is built with Ruby and it will be installable with the default Ruby available on macOS.
pod --version //1.8.0.beta.2
//or
gem which cocoapods //Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.0.beta.2/lib/cocoapods.rb
//install or update
sudo gem install cocoapods
Version of pods that is specified in Podfile
Podfile.lock
It is located in the same folder as Podfile
. Here you can find a version of a pod which is used
If you are interested in all available version of specific pod you can use
pod search <pod_name>
//or
pod trunk info <pod_name>
//specific version
pod '<framework_name>', "<semantic_versioning>"
// for example
pod 'MyFramework', "1.0"
I wrote a small commandline tool that parses the Podfile.lock and shows which version of each Pod is currently installed. It will also check for the latest version online and give you a summary of dependencies which are out-of-date.
You can find it on Github: https://github.com/citruz/podchecker
pod --version used this to check the version of the last installed pod
pod outdated
When you run pod outdated, CocoaPods will list all pods that have newer versions that the ones listed in the Podfile.lock (the versions currently installed for each pod) and that could be updated (as long as it matches the restrictions like pod 'MyPod', '~>x.y' set in your Podfile)
Podfile.lock file right under Podfile within your project.
The main thing is , Force it to open through your favourite TextEditor, like Sublime or TextEdit [Open With -> Select Sublime] as it doesn't give an option straight away to open.
To check version of cocoapods from terminal:
For Sudoless:
gem which cocoapods
For Sudo:
sudo gem which cocoapods
Also note: If you want to edit podfile or podfile.lock don't edit it in editors. Open only with XCode.