Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies

What does this mean for you?

Well, basically your CocoaPods setup is going to break. You are going to have to manually delete any local copies of the Specs repository and re-clone the new version of the Specs repository. You can do that with the following below commands:

After a lot of solution applying, I found a way that has been successful in solving this error, it goes something like this

It can be solved by executing the following commands in the terminal.

  1. Go to /ios folder inside your Project.
  2. Delete Podfile.lock
  3. Run pod install --repo-update (Make sure your cd into the iOS directory of the flutter app)
  4. Run flutter clean
  5. Once complete, rebuild your Flutter application: flutter run

This worked for me:

  1. flutter clean
  2. delete /ios/Pods
  3. delete /ios/Podfile.lock
  4. flutter pub get
  5. from inside ios folder: pod install Run