I recently had some issues with a pre-release version of Cocoapods. To fix it, the suggestion was to downgrade Cocoapods to a previous version. It wasn’t obvious how to do that, but this is what I learned.
First you can figure out which version of Cocoapods you are on with the command:
You can also see all the version of Cocoapods you have installed with this command:
sudo gem list cocoapods
Next uninstall Cocoapods. If you have multiple version, you will have the choice of uninstalling all or a specific version.
sudo gem uninstall cocoapods
Finally you can install the specific version with this command:
sudo gem install cocoapods -v 0.39.0.beta.3