Search code examples
iosrubyrubygemscocoapods

How to downgrade or install an older version of Cocoapods


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