Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix pod: command not found? I have trying many but not yet find the answer?

Tags:

cocoapods

I was tried below commands in the terminal:

gem install cocoapods --user-install
sudo chmod +rx /usr/local/bin/
gem install -n /usr/local/bin cocoapods
sudo chown -R $(whoami):admin /usr/local
rbenv global system
sudo gem update --system
sudo gem install activesupport -v 4.2.6
sudo gem install -n /usr/local/bin cocoapods
sudo gem install cocoapods

But it still the same problem... Any ideas about this.

like image 224
NemSothea Avatar asked Jan 28 '23 00:01

NemSothea


1 Answers

The below command work for me.

sudo gem install cocoapods -V
like image 118
Hitesh Surani Avatar answered May 22 '23 11:05

Hitesh Surani