Warning: Podfile is out of date This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes. If you have local Podfil

大多数情况是在升级flutter应用程序时发生的,要解决此问题,请按照以下步骤操作

 直接跑   rm ios/Podfile  (就是直接删掉项目中的Podfile文件,不用担心,运行flutter run马上就生成新的Podfile文件)

后面还是不行就是别的问题了。

原文地址:https://www.cnblogs.com/gaozhang12345/p/12074821.html