I am new to Flutter iOS Development. I was trying to run my flutter app with three flavors dev, stage and prod. After running the application I am getting the following error.
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.
I have searched a lot, but haven't got any solutions over internet. It would be helpful if anyone will be able to help me with it.
PS - I want to run it on Simulator only. Thank You.