0

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.

1 Answer 1

2

It doesn't sound like you followed the instructions for running a project other than the FDE example. A newly created Flutter project doesn't have support for running on desktop; you need to add that.

See also flutter.dev/desktop#create for information on the state of create and run for desktop.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.