🌟

Flutter/Podfile is out of dateを解決する

2020/11/02に公開

vscodeで久しぶりにiOS simulatorを立ち上げようとしたら以下の警告がでた。

Warning: Podfile is out of date
This can cause issues if your application depends on plugins that do not
support iOS.
See
https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.
If you have local Podfile edits you would like to keep, see
https://github.com/flutter/flutter/issues/45197 for instructions.
To regenerate the Podfile, run:
rm ios/Podfile

FlutterではPodfileを自動生成しているようで、ios/Podfileを削除し、再度simulatorを立ち上げることで警告を解消できた。

Discussion