真机或模拟器时报:
| 1 | Podfile is out of date This can cause issues if your application depends on plugins that do not support iOS or macOS. |
要完全清理(删除所有指向链接的点)并创建升级到新的(卸载并再次安装),请编写以下命令
| 1 2 3 4 5 | flutter clean rm -Rf ios/Pods rm -Rf ios/.symlinks rm -Rf ios/Flutter/Flutter.framework rm -Rf ios/Flutter/Flutter.podspec |
再删除Podfile以重建
| 1 | rm ios/Podfile |
最后再
| 1 | flutter run或debug |
原文连接:Warning: Podfile is out of date 所有媒体,可在保留署名、
原文连接
的情况下转载,若非则不得使用我方内容。