iOS14+ 运行Flutter

2021-03-11  本文已影响0人  winsonGali

iOS 系统为 14 以及以上后,从 iPhone 桌面运行 flutter 项目,显示:

In iOS 14+, debug mode Flutter apps can only be launched from Flutter tooling, IDEs with Flutter plugins or from Xcode.

Alternatively, build in profile or release modes to enable launching from the home screen.

解决方案:

用 release 模式运行项目即可
VSCode - TERMINAL 输入:

flutter run --release
上一篇下一篇

猜你喜欢

热点阅读