Reputation: 537
So Hello,
I know there are many similar Questions but only a few of them a specifically for Flutter.
My Problem: I want to run my Flutter project but then this error shows up:
CocoaPods not installed or not in valid state.
Then i install cocoapods with this commant:
udo gem install -n /usr/local/bin cocoapods
However if i want to run:
pod install
it show this error:
[!] You cannot run CocoaPods as root. (CLAide::Help)
Thanks for any answer stackoverflow is my last hope LG
Solution
Just run this command:
export PATH=$PATH:/usr/local/bin
and then:
pod setup
and
pod install
Upvotes: 1
Views: 5853
Reputation: 537
Solution
Just run this command:
export PATH=$PATH:/usr/local/bin
and then:
pod setup
and
pod install
Upvotes: 2