I have an error, when I am trying to launch simulator by running main.dart.
The error message is following:
Launching lib/main.dart on iPhone 14 Pro in debug mode…
lib/main.dart:1
Xcode build done. 5.6s
Failed to build iOS app
Uncategorized (Xcode): Scheme Runner is not currently configured for the build action.
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.
Exited
If I click on IOS -> launch in XCode it works fine.
Does anyone know how to solve VS Code simulator launch problem?
Thank you!