Home › Articles › Flutter Intel Mac deprecation warning

Flutter's Intel Mac deprecation warning now prints on every command: the story of PR #194071, by Ishaq Hassan

Once Was Easy to Miss: Flutter's Intel Mac Warning Now Prints on Every Command

A deprecation warning that showed up one time and then went quiet for good. The fix was mostly deleting an if condition. The review found a logging bug that had been hiding under -v.

Merged, not released yet: PR #194071 merged into Flutter on November 25, 2026 (UTC) and is on the master channel only. Stable 3.50.1 and beta 3.51.0-0.2.pre still have the old behavior: the warning prints once and then never again. I will update this line when a release tag carries it.

If you build Flutter apps on an Intel Mac, you have probably seen this line exactly once:

Flutter is deprecating support for Intel-based Macs. A future version of
Flutter will require an Apple Silicon Mac to build applications.

After that first time, the Flutter tool never showed it again on that machine. PR #194071 changes that. It makes the warning print on every command on an Intel Mac, keeps it from failing builds that treat warnings as errors, and deletes the saved state that used to silence it.

The change to the tool itself is small. The review was the interesting part: a Flutter maintainer found that the verbose logger ignored the non-fatal flag, and fixing it properly needed a second change one layer down. That fix helps more than Intel Macs. This article covers both, plus what the Intel Mac timeline means for your machine and your CI.

Where the warning came from

Flutter has a public plan for phasing out Intel Macs: the macOS Intel deprecation strategy, written by Victoria Ashworth on the Flutter team in May 2026. Its first stage is to announce the change, and one step of that is a warning from the Flutter CLI when you build on an Intel machine.

That warning arrived in PR #188835, merged on July 7, 2026. It ships in stable Flutter 3.47.0 and 3.50.0. The first version was deliberately polite. The tool checked a flag in its persistent state file, printed the warning, and then set the flag under the key displayed-intel-warning-message, so it would not print again:

// packages/flutter_tools/lib/src/runner/flutter_command.dart
// Before: the one-time version in stable 3.47 and 3.50
final PersistentToolState? persistentToolState = _persistentToolState;
if (_os.hostPlatform == HostPlatform.darwin_x64 &&
    (persistentToolState?.shouldShowIntelMacWarning ?? true)) {
  _logger.printWarning(
    'Flutter is deprecating support for Intel-based Macs. '
    'A future version of Flutter will require an Apple Silicon Mac to build applications.',
  );
  persistentToolState?.shouldShowIntelMacWarning = false;
}

Why once was not enough

On October 2, 2026, the author of the strategy opened issue #193729: print the warning on every command instead of only once.

The reasoning holds up when you look at how people actually meet this message. It appears in the output of whichever command happens to run first after an upgrade, often flutter pub get or a build in an IDE, mixed in with other output. You read past it once and the tool never mentions it again. Meanwhile the deprecation is not one event. It is a sequence of stages running into 2027, and a one-time notice gives no reminder as those stages arrive.

A deprecation warning has one job: still be there when you finally have time to read it.

The change: delete the gate

I opened #194071 on October 9, 2026 (UTC). This is the core of it, as merged:

// packages/flutter_tools/lib/src/runner/flutter_command.dart
// After: #194071
if (_os.hostPlatform == .darwin_x64) {
  // This is about the host machine rather than the project, so it should
  // not fail commands that treat warnings as fatal.
  _logger.printWarning(
    'Flutter is deprecating support for Intel-based Macs. '
    'A future version of Flutter will require an Apple Silicon Mac to build applications.',
    fatal: false,
  );
}

Three decisions sit inside those lines.

1. The gate goes, the check stays

The message text and the host check are unchanged. Only the persistent state condition is gone. On an Apple Silicon Mac the tool still prints nothing.

2. fatal: false, on purpose

The Flutter tool has a --fatal-warnings flag. With it, a command exits with an error if any warning was printed. Teams use it in CI to keep warnings from piling up.

Flutter's own CI uses it too. runFlutterTest in dev/bots/utils.dart passes it by default, and the Mac_x64 builders were still running on beta and stable when I opened the PR. If the warning printed on every command as an ordinary warning, every build, run and test on an Intel host with that flag would fail. Under the old one-time version, only the run that happened to print it was exposed.

The warning describes the machine, not the project, so it should inform and never fail a command on its own. The tool already had a precedent: the warning about a custom FLUTTER_STORAGE_BASE_URL download source in cache.dart is also printed with fatal: false.

3. Dead state gets deleted, not kept

With the gate gone, shouldShowIntelMacWarning and its displayed-intel-warning-message key in PersistentToolState had no readers and no writers left. Neither did the private _persistentToolState getter and the import in flutter_command.dart. I removed all of it instead of leaving it around as state nobody uses: 19 lines out of persistent_tool_state.dart. _DefaultPersistentToolState is the only implementation of that interface, so nothing else needed to change. If the old key is already in your tool state file, it is simply never read again.

The review

The first review came within a minute, from gemini-code-assist, the AI reviewer that makes a first pass on Flutter pull requests. It marked .darwin_x64 in my test as a high priority compile error, saying Dart does not support a leading dot shorthand for enum values. That was wrong. Dot shorthands are valid from Dart 3.10, and the human review said so.

On November 2, bkonyi reviewed it. He asked for two things: use the dot shorthand in the tool code too (_os.hostPlatform == .darwin_x64), and move the Intel Mac tests from testUsingContext to testWithoutContext, passing a FakeToolContext to the test command. Both were good calls. A test that gets its dependencies passed in explicitly is easier to read than one that depends on overrides of a global context. I moved all three Intel Mac tests, including the arm64 one, rebased on master to clear the merge conflicts, and pushed.

The bug under -v

On November 24, cbracken left the comment that turned a small change into a real fix. He had traced what happens in verbose mode, and found that fatal: false would not help there:

  • StdoutLogger and BufferLogger record a warning with hadWarningOutput = hadWarningOutput || fatal, so a non-fatal warning does not count.
  • VerboseLogger.printWarning set hadWarningOutput = true unconditionally.

So flutter -v build ... --fatal-warnings would still fail on an Intel Mac, and with my change it would fail on every run instead of only the first. He suggested changing that one line to match the other loggers.

That line was necessary, but not enough. VerboseLogger is a DelegatingLogger: it wraps another logger, and its hadWarningOutput reads and writes the wrapped logger's value. After it formats a warning, it passes the text on in _emit, which called super.printWarning(...) without fatal. The default is true, so the wrapped StdoutLogger set hadWarningOutput anyway. Fixing only the first line would have moved the bug one layer down, not removed it.

So the fix touches both places:

// packages/flutter_tools/lib/src/base/logger.dart, VerboseLogger
@override
void printWarning(
  String message, {
  // ...
  bool fatal = true,
}) {
  hadWarningOutput = hadWarningOutput || fatal;   // was: = true
  _emit(
    _LogType.warning,
    wrapText(/* ... */),
    stackTrace,
    fatal,                                        // new: pass it on
  );
}

void _emit(_LogType type, String message, [StackTrace? stackTrace, bool fatal = true]) {
  // ...
    case _LogType.warning:
      super.printWarning(prefix + terminal.bolden(indentMessage), fatal: fatal);
  // ...
}

I pushed both fixes with tests for the -v case and explained the second path in my reply. bkonyi credited the catch to cbracken, said it "definitely wasn't intended behavior" and that the fix looked good, and approved. cbracken approved the same day. The auto-submit bot merged the PR on November 25 at 01:30 UTC, about 47 days after I opened it.

The bigger fix hiding inside

The verbose logger bug was never about Intel Macs. Before this change, every warning the tool printed with fatal: false still counted toward --fatal-warnings when the tool ran with -v. At the merge commit, flutter_tools has four other printWarning calls marked fatal: false:

  • the "waiting for another flutter command to release the startup lock" message in cache.dart,
  • the warning that Flutter assets will be downloaded from a custom storage URL, also in cache.dart,
  • the "waiting for another flutter command to release the lock" message in base/file_system.dart,
  • the macOS native assets warning when a code asset keeps its old install name.

That last one even carries a code comment describing the limitation: "Under -v, VerboseLogger still counts every warning, fatal or not." After #194071, that is no longer true, and verbose mode treats non-fatal warnings the same way the normal logger always did.

The tests

Five tests cover the change, all with testWithoutContext:

  • prints Intel Mac warning on macOS X64 on every command. The old test ran the command twice and checked that the second run stayed quiet. Now it runs twice and expects the warning exactly two times. BufferLogger.clear() does not clear warnings, so counting matches is the honest check.
  • Intel Mac warning on macOS X64 is not fatal. With fatalWarnings on, the warning is printed, hadWarningOutput stays false and checkForFatalLogs returns normally.
  • Intel Mac warning on macOS X64 is not fatal in verbose mode. The same, with the command logging through a VerboseLogger.
  • does not print Intel Mac warning on macOS ARM64. Apple Silicon hosts stay silent.
  • non-fatal warnings are not fatal, in logger_test.dart. A non-fatal warning on a VerboseLogger leaves hadWarningOutput false. Then a normal warning turns it on and checkForFatalLogs throws, and a later non-fatal warning does not turn it back off.

Before the first push, I reverted the two library files and ran the Intel tests again to watch them fail. A test that still passes without the fix is not testing the fix.

The Intel Mac timeline, as Flutter has published it

The warning only makes sense next to the plan behind it. This is the strategy document's timeline in short. The dates are the plan's targets, not release promises.

  • Stage 0, announce. PR #188835 added two warnings that ship from Flutter 3.47: the one-time Intel Mac warning this article is about, and a nudge toward the Apple Silicon only build setting when you build a macOS app with Xcode 27 or newer.
  • Stage 1, remove the Rosetta requirement from Flutter's own engine builds, so they are ready for macOS 28.
  • Stage 2, stop testing on Intel. Target September 2026. Intel bots come out of CI, Intel-specific bugs are treated as P3, and Flutter keeps shipping its Intel artifacts. Flutter 3.50 no longer tests on Intel Mac hardware.
  • Stage 3, stop supporting development on Intel Macs in the latest Flutter. Target April or May 2027.
  • Stage 4, stop building universal macOS apps that run on Intel. No date yet; it follows Xcode.

Apple's side sets the pace. The strategy document and Flutter's supported platforms page note that macOS Tahoe (26) is the last release for Intel Macs, macOS Golden Gate (27) requires Apple Silicon, and Xcode 27 does not support Intel machines. The strategy also says that by April 2027 you will likely no longer be able to develop iOS apps on Intel Macs, because of the App Store's minimum Xcode version, and that Apple is expected to remove Rosetta 2 in macOS 28.

The document's own numbers explain why this is a phased plan and not a switch. About 3.5% of all Flutter developers, and about 13% of Flutter developers on a Mac, use an Intel machine. When it was written, 127 of the bots in Flutter's main CI pool were Intel and 244 were ARM.

Is your Mac Intel or Apple Silicon?

Run this in Terminal:

sysctl -n hw.optional.arm64

It prints 1 on Apple Silicon. On an Intel Mac it prints 0 or reports that the key is unknown. This is the same check the Flutter tool runs to decide whether you are on darwin_arm64 or darwin_x64.

One trap: do not use uname -m for this. Inside a Rosetta terminal it reports the emulated architecture. I checked on my M1 Pro:

$ arch -x86_64 uname -m
x86_64
$ arch -x86_64 sysctl -n hw.optional.arm64
1

So an Apple Silicon Mac running a Rosetta shell does not get the warning, because Flutter looks at the hardware, not the shell. For CI, put the sysctl line in a step of your macOS job and you will know which hardware your runners give you.

Build Apple Silicon only macOS apps

If you ship a Flutter macOS app and are ready to drop Intel users, stable Flutter has had the switch since 3.47.0:

flutter config --enable-macos-arm64-only

# undo it
flutter config --no-enable-macos-arm64-only

With it on, release and profile macOS builds produce Apple Silicon binaries instead of universal ones. You can also set FLUTTER_MACOS_ARM64_ONLY=true in the environment, which applies when no config value is set. It is off by default in 3.50, and the tool's own help text says it will default to on in a future release, before Intel Mac support is discontinued. Check your users' hardware before you flip it: with the setting on, Intel Macs cannot run your release build.

If you are still on an Intel Mac

  • Nothing breaks today. The warning is informational. With #194071 it is also non-fatal everywhere, including -v.
  • Plan the hardware move around Stage 3. The April or May 2027 target is where development on Intel stops being supported in the latest Flutter. iOS work may hit the App Store's Xcode floor around the same time anyway.
  • Check your CI machines, not just your laptop. A build pool that quietly runs on Intel is the kind of thing a once-only warning hides.
  • Pinned on an older SDK? That works for a while, but Intel-specific bugs are already low priority, and new Xcode releases will not run on your machine.

What I took from this one

  1. Treat a reviewer's finding as a lead, not a patch. The suggested line was right. Following the value through the delegating logger showed it was incomplete.
  2. Test the mode the reviewer named. The bug only existed under -v, so the fix needed a -v test, in both the command test and the logger test.
  3. When the reason for state goes away, the state goes too. A setter nobody calls is a question every future reader has to answer.
  4. A bot review is a first pass, not a verdict. Check it against the language version you actually build with.

If you want the longer version of how I pick and land framework changes from Karachi, read my first contribution playbook. For everything of mine that shipped in the current release, see 13 of my commits in Flutter 3.50, and the full record is on my contributions page.


Want to land your first Flutter framework PR?

I mentor engineers on exactly this path: finding the right first issue, surviving review, and building a contribution track record. 13+ years of engineering, 16 technical PRs merged across Flutter and DevTools, and the scars to prove the queue is survivable.

Get in touch →

FAQ

What does "Flutter is deprecating support for Intel-based Macs" mean?

The tool prints it when it runs on a Mac with an Intel processor. Flutter has a staged plan to stop supporting Intel Macs: CI testing on Intel already stopped, development on Intel Macs is planned to stop in the latest Flutter around April or May 2027, and universal macOS apps stop later, in line with Xcode. Nothing breaks today.

Why does the Intel Mac warning now print on every command?

PR #194071, merged on November 25, 2026, removed the one-time gate. Before it, the tool stored a flag after the first warning and never printed it again on that machine. The change is on Flutter master; stable 3.50.1 and beta 3.51.0-0.2.pre still print it once.

Will the warning fail a build that uses --fatal-warnings?

Not with #194071. The warning is printed with fatal: false, and the same PR fixed VerboseLogger so a non-fatal warning no longer fails --fatal-warnings under -v.

When will Flutter stop supporting Intel Macs?

The published strategy targets April or May 2027 for ending support for development on Intel Macs in the latest Flutter. Building universal macOS apps for Intel ends later, aligned with Xcode, with no date yet. These are plan targets, not promises.

How do I check if my Mac is Intel or Apple Silicon?

Run sysctl -n hw.optional.arm64. It prints 1 on Apple Silicon, and 0 or an unknown key error on Intel. It is the check Flutter uses, and unlike uname -m it is not fooled by a Rosetta terminal.

How do I build Apple Silicon only macOS apps with Flutter?

Run flutter config --enable-macos-arm64-only. Release and profile macOS builds then produce Apple Silicon binaries instead of universal ones. It is off by default in Flutter 3.50. Turn it off again with flutter config --no-enable-macos-arm64-only.


Also published on:

Dev.to Medium

Source of record:

PR #194071 on GitHub Issue #193729 The original warning, #188835 macOS Intel deprecation strategy Flutter supported platforms

Related reading

Ishaq Hassan is a Flutter Framework Contributor with 16 technical PRs merged across Flutter and DevTools, listed in the official Flutter AUTHORS file, Engineering Manager at DigitalHire, and creator of the 35-video Urdu Flutter course listed on docs.flutter.dev. Karachi, Pakistan. ishaqhassan.dev.