Flutter开发:iOS 14+系统的iPhone在debug模式下运行App报错的解决方法

今天博主30岁生日,在这个特殊的时刻,一定要发一篇文章做纪念,人生能有几个30年,继续加油向前了。


前言

前段时间在做一个Flutter相关的App开发的时候,iPhone手机在连接Mac电脑,然后运行VS Code启动Flutter程序,然后可以正常安装到手机上,但是安装之后更新了手机的系统,而且手机系统更新到最新的iOS 14.4,然后重新打开手机里面安装的Flutter程序,然后遇到了程序启动问题,那么本文就来分析一下具体原因和解决方法。

报错提示

手机系统更新到iOS 14.4以后,运行手机安装的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.

你可能感兴趣的:(Flutter开发,flutter)