Following these instructions
I tried to run a new project on macOS(desktop) using Android Studio.
I get the following error:
Launching lib/main.dart on macOS in release mode... Finished with error: Unable to get Xcode project information: xcodebuild: error: The directory /Users/current.user/Work/Playground/testout/flutter_app2/macos does not contain an Xcode project, workspace or package.
I get the same issue if I run in the terminal flutter run --release -d macOS
Running on a simulator/device, works fine.