Flutter iOS build failed an error of pod files: Podfile is out of date
This mostly happens when you upgrade your flutter application, to solve this issue follow bellow steps
Go to
Your_Project_Directory/ios/
and removePodfile
or you can do it by running the following command in the root project directoryrm ios/Podfile
Run
your project again, this will create a new and updatedPodfile
for youflutter run
Use pod install
command in your ios directory to install new pods in your project. Even if you already have a Podfile and ran pod install before. This should work for you. I ran into the same problem some time ago and this is how it was solved.
I'm not sure if this will work for everyone but my issue was fixed by running flutter run
from the terminal.
I was just using the Flutter launcher from vscode and it kept throwing errors.
I had a Podfile already setup but I think flutter run
maybe updated it or reinstantiated it? I'm unsure.
My issue was caused from an update to Flutter