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