can't update CocoaPods in flutter terminal from android studio

Issue

This is the full error message

Warning: CocoaPods minimum required version 1.9.0 or greater 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 upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

CocoaPods not installed or not in valid state.
Error launching application on iPhone 13.

any command which I can directly from the Android studio terminal to update CocoaPods?

Solution

so finally after waisting my whole day.
we can’t update CocoaPods from very old version to new version so.
1 – sudo gem uninstall cocoapods
2-sudo gem install cocoapods:1.10.2

Answered By – ankit kumar

Answer Checked By – Dawn Plyler (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *