Flutter iOS build failed an error of pod files: Podfile is out of date

前端 未结 8 588
猫巷女王i
猫巷女王i 2021-01-07 18:48

I\'m trying to build my app on the ios simulator(ios 13), but the build fails and gives an error of pod files: Podfile is out of date

This is the error.



        
8条回答
  •  既然无缘
    2021-01-07 19:44

    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
      

提交回复
热议问题