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

  1. Go to Your_Project_Directory/ios/ and remove Podfile or you can do it by running the following command in the root project directory

    rm ios/Podfile
    
  2. Run your project again, this will create a new and updated Podfile for you

    flutter run
    

Leave a Comment