How to use multiple cocoapod version on same Mac machine.

This article gives a brief idea on how to use multiple pod version on same Mac.

Abhimuralidharan
1 min readDec 21, 2020
  1. Install a particular pod version on your mac. the following command installs 1.8.4 version
sudo gem install cocoapods -v 1.8.4

Install multiple version using the command above.

2. Check installed pod versions

gem list — local | grep cocoapods

This will list all installed cocoapod versions (I had 1.9.3 installed).

3. Now you can use any of the installed versions for pod install.

pod _1.8.4_ install

Install pods with specific version of cocoapods (change to your required version).

That’s it.

Enjoy!!

If you enjoyed reading this post, please share and give some claps so others can find it 👏👏👏👏👏 !!!!

You can follow me on Medium for fresh articles. Also, connect with me on LinkedIn.

If you have any comment, question, or recommendation, feel free to post them in the comment section below!

--

--