flutter / flutter/flutter

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

Open Beginner friendly
#189,136 0 comments 0 reactions 0 assignees View on GitHub
P2 team-ios tool triaged-ios
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

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

https://github.com/flutter/flutter/blob/291b8308063f2f50b0f470761199c185e82d5431/packages/flutter_tools/lib/src/features.dart#L316-L328

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

Contributor guide

Open the contributing guide

Research direction

Open packages/flutter_tools/lib/src/features.dart around the enable-macos-arm64-only feature flag and inspect how its default and opt-out behavior are defined. Change the default for macOS builds with Xcode 27+ as requested, preserve disabling through the feature flag, and verify the relevant Flutter tool feature tests or build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, macos
Domain
build-system, desktop
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.