目标 aot_assemble_release 失败:异常:仅物理设备支持发布/配置文件构建。尝试为模拟器构建

问题描述 投票:0回答:0

我是 Flutter iOS 开发新手。我试图用三种风格的 dev、stage 和 prod 来运行我的 flutter 应用程序。运行应用程序后,我收到以下错误。

Error (Xcode): Target aot_assembly_release failed: Exception: release/profile
builds are only supported for physical devices. attempted to build for
simulator.


Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

我已经搜索了很多,但没有通过互联网找到任何解决方案。如果有人能够帮助我,那将会很有帮助。

PS - 我只想在模拟器上运行它。谢谢你。

flutter xcode ios-simulator
© www.soinside.com 2019 - 2024. All rights reserved.