How to downgrade or install an older version of Cocoapods How to downgrade or install an older version of Cocoapods ios ios

How to downgrade or install an older version of Cocoapods


to remove your current version you could just run:

sudo gem uninstall cocoapods

you can install a specific version of cocoa pods via the following command:

sudo gem install cocoapods -v 0.25.0

You can use older installed versions with following command:

pod _0.25.0_ setup


Actually, you don't need to downgrade – if you need to use older version in some projects, just specify the version that you need to use after pod command.

pod _0.37.2_ setup


If you need to install an older version (for example 0.25):

pod _0.25.0_ install