Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to my flutter app in my simulator But I am facing following error: Warning: CocoaPods not installed. Skipping pod install in Flutter. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Warning: CocoaPods not installed. Skipping pod install Error Occurs ?
I am trying to my flutter app in my simulator But I am facing following error
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting- started.html#installation for instructions.
How To Solve Warning: CocoaPods not installed. Skipping pod install Error ?
- How To Solve Warning: CocoaPods not installed. Skipping pod install Error ?
To Solve Warning: CocoaPods not installed. Skipping pod install Error First Of All Just Install CocoaPods If You are using brew then run this command:
brew install cocoapods
Orsudo gem install cocoapods
And then Find Path where CocoaPods is installed on your machine With This Command:which pod
Then Set your project path in the terminal. So In your ~/.profile add the following lines:export PATH="$PATH:/Users/yourname/.gem/ruby-{xyz}/bin"
Now, Apply Changes And Try To run Again Hope Your Issue may be resolved. - Warning: CocoaPods not installed. Skipping pod install
To Solve Warning: CocoaPods not installed. Skipping pod install Error Just Try to start Android studio from the terminal: open /Applications/Android\ Studio.app Now, Your error should be solved.
Solution 1: Install Cocoapods
First Of All Just Install CocoaPods If You are using brew then run this command.
brew install cocoapods
Or
sudo gem install cocoapods
And then Find Path where CocoaPods is installed on your machine With This Command.
which pod
Then Set your project path in the terminal. So In your ~/.profile add the following lines:
export PATH="$PATH:/Users/yourname/.gem/ruby-{xyz}/bin"
Now, Apply Changes And Try To run Again Hope Your Issue may be resolved.
Solution 2: Run This Command
Just Try to start Android studio from the terminal:
open /Applications/Android\ Studio.app
Now, Your error should be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read