How to find out the version of installed cocoa pods?

install cocoapods
pod install specific version
cocoapods version check
cocoapods windows
install cocoapods version
gem 'cocoapods' is not installed
pod update not working
pod install not working

How to find out the version of installed cocoa pods?

I'm not asking about the version of the cocoa pods gem, but the version of the pods themselves. Ideally it would say "pod GreatViewController is installed in version 1.2.3, new version available: 1.2.6".

Is there something like that?


Based on your clarification you're looking for pod outdated. You can see more information about this with pod outdated --help

Original answer before question was edited

The command you want is pod --version

In the future you should use pod --help to find answers such as this. You can also use pod COMMAND --help to get help for specific commands.

Getting Started, You can use a Ruby Version manager, however we recommend that you use the You can find out where a gem is installed with gem which cocoapods . E.g.. 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. If you want to double check that FlurrySDK is using 4.2.3, check that file.

You will find the version # in your Podfile.lock of all the pods you are currently using in your project. You will find this file at the same location as your Podfile.

This is how mine looks like:

  - Alamofire (3.4.1)
  - EPSignature (1.0.2)
  - Kingfisher (2.4.2)
  - MBProgressHUD (0.9.2)
  - SwiftyJSON (2.3.2)

  - Alamofire (~> 3.4)
  - EPSignature
  - Kingfisher
  - MBProgressHUD (~> 0.9.1)
  - SwiftyJSON

  Alamofire: 01a82e2f6c0f860ade35534c8dd88be61bdef40c
  EPSignature: 1f925f20b837046de46b4d396bc6e432ea383908
  Kingfisher: 05bf8d04408aaa70fcd2c8c81b9f1d0f1ad313dd
  MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1
  SwiftyJSON: 04ccea08915aa0109039157c7974cf0298da292a

PODFILE CHECKSUM: 95eb36b090480f40d91543881d6ddb76bb1b8ca8


pod install vs. pod update, <Stage 4: Checking for new versions of a pod. Later, user1 wants to check if any updates are available for the pods. They run pod outdated which will tell them that  Running pod install will install the current version of RestKit, causing a Podfile.lock to be generated that indicates the exact version installed (e.g. RestKit 0.10.3). Thanks to the Podfile.lock , running pod install on this hypothetical project at a later point in time on a different machine will still install RestKit 0.10.3 even if a newer version is available.

To get the version of cocoa pods

pod --version

To get the version of your pod, look in the Podfile.lock

When you install or update the pod, you can see the versions of both.

Version on, Version represents and compares semantic versions in Swift. Installation Guide​. × ATTENTION: Take care when you check versions of frameworks. <pod install. This is to be used the first time you want to retrieve the pods for the project, but also every time you edit your Podfile to add, update or remove a pod. Every time the pod install command is run — and downloads and install new pods — it writes the version it has installed, for each pods, in the Podfile.lock file.

Open Terminal.

Change directory to your project and type the following command to open the Podfile.lock file.

$ open Podfile.lock -a Xcode

Troubleshooting, If you are installing on macOS 10.9.0-10.9.2, you may run into an issue when If you used an pre release version of Xcode you might need to update the command To check this select your project file, then select it in the second pane again  If you originally installed the cocoapods gem using sudo, you should use that command again. Later on, when you're actively using CocoaPods by installing pods, you will be notified when new versions become available with a CocoaPods X.X.X is now available, please update message. Using a CocoaPods Fork

pod search pod_name


pod search Alamofire

So you should have the pod name to use this command and it will give you a response like the following in the command line

-> Alamofire (4.7.3) Elegant HTTP Networking in Swift pod 'Alamofire', '~> 4.7.3' - Homepage: - Source: - Versions: 4.7.3, 4.7.2, 4.7.1, 4.7.0, 4.6.0, 4.5.1, 4.5.0, 4.4.0, 4.3.0, 4.2.0, 4.1.0, 4.0.1, 4.0.0, 3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.1, 3.3.0, 3.2.1, 3.2.0, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 3.0.0-beta.3, 3.0.0-beta.2, 3.0.0-beta.1, 2.0.2, 2.0.1, 2.0.0, 2.0.0-beta.4, 2.0.0-beta.3, 2.0.0-beta.2, 2.0.0-beta.1, 1.3.1, 1.3.0, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.5, 1.1.4, 1.1.3 [master repo]

Using CocoaPods, <What is Podfile.lock ? This file is generated after the first run of pod install , and tracks the version of each Pod that was installed. For example, imagine the  Instead of downloading the library and manually adding it to your Xcode project, we're going to install it as a Cocoa Pod. Having Cocoa Pods installed and set up is going to make that a lot easier

Command-line Reference, Commands; Installation. init; install; update; outdated; deintegrate. Environment. env Commands. pod. CocoaPods, the Cocoa library package manager. The first time you run pod install, the system will retrieve the master repository of Cocoa Pods. This will retrieve a local reference of all Cocoa pods available. This will retrieve a local reference of all Cocoa pods available.

Downgrade CocoaPods to the older version, How to do it? Check your current pod version: $ pod --version Check your installed pod versions: $ gem list cocoapods You may see the result  Eloy Durán. 24 October 2013. Follow @alloy TL;DR: Compilation as part of the CocoaPods gem install process is dead.Long live precompiled gems! The CocoaPods gems will now be installable without the need for installing the Xcode Command Line Tools and fixing the Ruby headers location on OS X (Mountain Lion and Mavericks).

square/cocoapods-check: A CocoaPods plugin that shows , cocoapods-check displays the differences between locked and installed Pods. It can save time by quickly showing whether it's necessary to run pod install . 3 years ago #6 cocoapods-check not working with cocoapods version 1.0.0 Opened  Finding and installing the correct version of a CocoaPod is simple (once you know how to do it of course!): 1. Find your pod on – here is Quick 2. Go to the pod’s Github page. 3. Select the releases tab. 4. Now you can read the release notes to figure out which version is the latest for the Swift version you need in your project.

  • Possible duplicate of How to check a version of a CocoaPods framework
  • this is not the answer to the above question.
  • Thanks Keith. It took me awhile to see that I seemed to have another problem with Cocoapods not accepting my target name. But your anser is right
  • You should open another question if you can't find a solution!
  • The Podfile.lock keeps track of the resolved versions of each Pod installed. Note: You should not edit this file. It is auto-generated when you run pod install or pod update
  • This is wrong. If you have the latest versions, pod outdated prints No pod updates are available.