-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamplatform-iosiOS applications specificallyiOS applications specificallyplatform-target-armTargeting an ARM-based platformTargeting an ARM-based platformteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
To support running iPad apps on arm64 Macs, My Mac (Designed for iPad) should show up as a non-ephemeral (ephemeral == device that attach and detach or disappear, like iPhones and simulators) device target.
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.
- Rename
MacOSDesignedForIPadDeviceid from'designed-for-ipad'to'mac-designed-for-ipad'or similar since visionOS is now another "Designed for iPad" target Support visionOS devices for iOS apps influtter devices,flutter run, etc. #129638 - Remove
allowDiscoverylogic that was disabling discovery for all commands except forattach:
static bool allowDiscovery = false;
flutter/packages/flutter_tools/lib/src/commands/attach.dart
Lines 215 to 216 in eff2e7d
// ARM macOS as an iOS target is hidden, except for attach. MacOSDesignedForIPadDevices.allowDiscovery = true; - Until
runanddriveare implemented (Supportflutter runandflutter driveforMac Designed for iPadapps on arm64 Macs #141328), show an error andtoolExitif it's the targeted device for those commands.
Once implemented, validate it appears in the IDE GUI.
Part of #125741
h3x4d3c1m4l
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamplatform-iosiOS applications specificallyiOS applications specificallyplatform-target-armTargeting an ARM-based platformTargeting an ARM-based platformteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team