Home > Back-end >  can't update CocoaPods in flutter terminal from android studio
can't update CocoaPods in flutter terminal from android studio

Time:12-03

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?

CodePudding user response:

Try to install with this command

brew link --overwrite cocoapods

Try to without home brew

1 - sudo gem uninstall cocoapods

2 - sudo gem install -n /usr/local/bin

3 - cocoapods pod install

CodePudding user response:

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

  • Related