I need to take screenshots of my Flutter application across various devices. Since I do not have a variety of physical devices, I need to use the Simulator. However, I cannot figure out how to run my app in non-debug mode -- I always see the "Debug" banner in the top right corner. How can I run a Release build in the iOS Simulator?
When I try: flutter run --release
, it says, "Release mode is not supported for emulators."
When I try: flutter install
, it says:
[ +108 ms] An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
[ +12 ms] "flutter install" took 4,601ms.
Install failed
Alternatively, can I run a debug build without showing the Debug banner?