flutter Target aot_assembly_release failed

hello,

i am trying to build an app from a git repo but when I use the flutter run --flavor Prod --no-build -v command i get an error :

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

[   +4 ms] Could not build the application for the simulator.
[        ] Error launching application on iPhone 14.

does someone know how to deal with this error ? thank you

Any solution?

flutter Target aot_assembly_release failed
 
 
Q