Target aot_assembly_release failed: Exception: release/profile builds are only supported for physical devices. attempted to build for simulator
温馨提示:
本文最后更新于 2024年08月20日
,已超过 257 天没有更新。若文章内的图片失效(无法正常加载),请留言反馈或直接联系我。
Flutter Xcode 项目在模拟器中运行出错,是因为配置的方式错误了,调整过来就可以了,如果需要运行到真机中,可以再修改过来。
具体修改的方式
Xcode Version 15.4 (15F31d)
Product-->Scheme-->Edit Scheme
Run 的方式,使用debug 的模式,即可。
正文到此结束
- 本文标签: xcode flutter 前端
- 本文链接: https://www.letcode.cn/article/98
- 版权声明: 本文由Jack.Chen原创发布,转载请遵循《 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权