iOS14+ 运行Flutter

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

你可能感兴趣的:(iOS14+ 运行Flutter)