Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to switch between versions of cocoapods?

Is there a way to switch between versions of cocoapods?

This is what I get when I try to remove one:

Select gem to uninstall:
 1. cocoapods-0.29.0
 2. cocoapods-0.34.4
 3. cocoapods-0.35.0
 4. cocoapods-0.36.0
 5. cocoapods-0.37.2
 6. cocoapods-0.38.2
 7. cocoapods-0.39.0
 8. All versions

I just select the number of one I need to uninstall. Is there a way to set current version of cocoapods?

like image 989
Bartłomiej Semańczyk Avatar asked Mar 03 '16 10:03

Bartłomiej Semańczyk


1 Answers

Install specific version with this command example,

sudo gem install cocoapods -v 0.36.0

Or uninstall all the version , so it will be good if only latest version is available.

check this . how-to-fully-uninstall-the-cocoapods-from-the-mac-machine

and install cocoapod again with sudo gem install cocoapods command.

Check here :- How to install coocapod

like image 118
Badal Shah Avatar answered Sep 22 '22 08:09

Badal Shah