Skip to content

Support flutter run and flutter drive for Mac Designed for iPad apps on arm64 Macs #141328

@jmagman

Description

@jmagman

Once Mac Designed for iPad are discoverable #141290 implement flutter run and flutter drive on these devices.

We originally didn't allow flutter run to avoid confusion with macOS-proper development when that platform was not yet in stable (see comment in #84411). Now that macOS development has been in stable for awhile, and arm64 Macs are far more prevalent, let's enable this to make it easier for developers to debug their app in whatever way Apple supports.

Test as many as the run and drive flags as possible. If any of them don't make sense for Mac Designed for iPad throw a toolExit() in the respective validateCommand() methods so it just fails instead of doing some weird behavior.

Future<void> validateCommand() async {

Future<void> validateCommand() async {

Once implemented, validate it works from the IDE GUI.

Part of #125741

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-target-armTargeting an ARM-based platformteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions