HiveBrain v1.2.0
Get Started
← Back to all entries
snippetrubyCritical

How to downgrade or install an older version of Cocoapods

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
howcocoapodsolderinstalldowngradeversion

Problem

How can I downgrade Cocoapods to an older version, or how can I install an older version of Cocoapods?

Solution

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

Code Snippets

sudo gem uninstall cocoapods
sudo gem install cocoapods -v 0.25.0
pod _0.25.0_ setup

Context

Stack Overflow Q#20487849, score: 937

Revisions (0)

No revisions yet.