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.
- Go to /ios folder inside your Project.
- Delete
Podfile.lock
- Run
pod install --repo-update
(Make sure your cd into the iOS directory of the flutter app) - Run
flutter clean
- Once complete, rebuild your Flutter application:
flutter run
This worked for me:
- flutter clean
- delete /ios/Pods
- delete /ios/Podfile.lock
- flutter pub get
- from inside ios folder: pod install Run