POD not working on OSX Catalina 10.15.6

dhtmldhtml Posts: 1,019

This started with upgrade of the OS. which pod fails to work.

Eventually I traced out all the pods using which pod, uninstalled and deleted the pod manually.

Later on, used this bash script

for i in $( gem list --local --no-version | grep cocoapods  ); do
    sudo gem uninstall $i;
done   
sudo gem uninstall xcodeproj

And eventially just did:

$ sudo gem install -n /usr/local/bin cocoapods -v 1.4.0

And that solves it.

tony:ios dhtml$ ruby -v

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]

tony:ios dhtml$ which ruby

/Users/tony/.rvm/rubies/ruby-2.7.0/bin/ruby

tony:ios dhtml$ pod --version

1.4.0

tony:ios dhtml$ which pod

/usr/local/bin/pod

tony:ios dhtml$ 

Sign In or Register to comment.