Skip to content

When building a macOS app with Xcode 27+, default to build ARM-only #189136

Description

@vashworth

The enable-macos-arm64-only feature flag should default to true in a future version of Flutter.

/// Whether to only build for arm64 when targeting macOS.
const macOSArm64Only = Feature(
name: 'building arm64 architecture only for non-debug macOS builds',
extraHelpText:
'If enabled, macOS release and profile builds generate Apple Silicon binaries instead of universal binaries. '
'This feature is disabled by default, but will default to enabled in a future release, before Intel Mac support is eventually discontinued. '
'See https://flutter.dev/go/macos-intel-deprecation for details.',
configSetting: 'enable-macos-arm64-only',
environmentOverride: 'FLUTTER_MACOS_ARM64_ONLY',
master: FeatureChannelSetting(available: true),
beta: FeatureChannelSetting(available: true),
stable: FeatureChannelSetting(available: true),
);

We will still allow opting out by disabling the feature flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-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