Skip to content

Support flutter build x for Mac Designed for iPad apps on arm64 Macs #141332

@jmagman

Description

@jmagman

Implement flutter build for Mac Designed for iPad that builds an iPad application package that can be run on arm64 Macs.

From Xcode it's building the into path/to/deriveddata/Build/Products/Debug-iphoneos/.XCInstall/Test Create.app

$ ll -R /Users/m/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.XCInstall/Test\ Create.app
total 0
drwxr-xr-x@ 4 m  primarygroup  128 Jan  9 15:57 .
drwxr-xr-x  9 m  primarygroup  288 Jan 10 09:49 ..
lrw-r--r--  1 m  primarygroup   18 Jan  9 15:57 WrappedBundle -> Wrapper/Runner.app
drwxr-xr-x  4 m  primarygroup  128 Jan  9 15:57 Wrapper

/Users/m/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.XCInstall/Test Create.app/Wrapper:
total 8
drwxr-xr-x   4 m  primarygroup  128 Jan  9 15:57 .
drwxr-xr-x@  4 m  primarygroup  128 Jan  9 15:57 ..
-rw-r--r--   1 m  primarygroup  618 Jan  9 15:57 BundleMetadata.plist
drwxr-xr-x  13 m  primarygroup  416 Jan  9 15:57 Runner.app

What this looks like will depend on how we create this bundle as part of flutter run and drive #141328

flutter build ios -d designed-for-ipad that checks for this well-known identifier and does the special wrapper flow?
An entirely new BuildSubCommand flutter build designed-for-ipad?

Whatever choice is made, validate --config-only works (sets up the Xcode project for iOS but don't actually build the app).

Part of #125741

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyplatform-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