Flutter iOS build failed an error of pod files: Podfile is out of date
This happens to most of times when i update the flutter SDK, But don't skip updating to make it better and easier because it is very easy to solve
It is necessary to fix - Removing contents of Pods folder will solve the issue, Here is the process of how to do this
To completely clean(Removing all points to links) and create upgraded to the new(uninstall and installing again too), Write following command
flutter cleanrm -Rf ios/Podsrm -Rf ios/.symlinksrm -Rf ios/Flutter/Flutter.frameworkrm -Rf ios/Flutter/Flutter.podspec
Then for reproduce Podfile follow this command
rm ios/Podfile
Finally your project is ready to good to go
flutter run
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