Repository navigation
Build Flutter macOS artifacts with ARM architecture slice #69157
Copy link
Copy link
Closed
flutter-team-archive/engine
#52885Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.platform-macosBuilding on or for macOS specificallyBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Stop requiring developers to install Rosetta on Apple Silicon, and ship macOS artifacts with both x86_64 and arm64 capabilities.
- Roll ios-deploy iOS artifact to arm slice version #115042
- https://flutter-review.googlesource.com/c/recipes/+/32934
- Unit Tests
flutter_testsprocesses should run natively on Mac M1 processor #106763 -
libpath_ops.dylibshould run natively on Apple Silicon arm machines #110227 -
font-subsetshould run natively on Apple Silicon arm machines #110226 -
impellercandlibtessellatorshould run natively on Apple Silicon arm machines #109892 - Build macOS desktop
gen_snapshot_arm64andgen_snapshot_x64as arm64 binary to run natively on Apple Silicon #101138 - Build iOS
gen_snapshot_arm64as arm64 binary to run natively on Apple Silicon #152280 - Build Android
gen_snapshotas arm64 binary to run natively on Apple Silicon #152281 - Build
idevicesyslog,idevicescreenshot, andiproxybinaries and all dependent libraries with macOS arm64 and x86_64 architectures #121178 - Update website to remove Rosetta setup instructions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.platform-macosBuilding on or for macOS specificallyBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Activity
jmagman commentedon Oct 28, 2020
The autotools flags are something like (I'm sure this is missing something important):
Then
lipod together with the x86_64 executables.[-]Build Flutter macOS artifacts with an ARM architecture slice[/-][+]Build Flutter macOS artifacts with ARM architecture slice[/+]xiaoxiaowesley commentedon Nov 11, 2021
hi,I want to help to modify the what you said ./autogen.sh.
But as far as I know, the zip files of show below is download from http://flutter-storage.com/flutter_infra_release/ios-usb-dependencies/XXX/ + XXX.version. And the zip files is uploaded by googler .What can I do to help fix it ? And am I commit a M1 support./autogen.sh to belong repo like autogen.sh directly is ok?
HerrNiklasRaab commentedon Jan 30, 2022
I have a question to this. Bought the new Mac M1 Pro, with the expectation of faster unit and widget tests, but actually the tests complete slower on the M1 Pro then on the Mac with Intel i9 2019. Has this something to do that there are still some flutter things running under Rosetta or is it due to the fact that the Intel i9 performs better on multi core? I assume running tests is primarily a multi core operation.
acoutts commentedon Jan 30, 2022
While dart indeed supports arm64, flutter is still shipping the intel version of dart.
#60118
More specifically: #86926 (but they closed it and linked to #60118)
HerrNiklasRaab commentedon Jan 30, 2022
Ok two followups:
jmagman commentedon Feb 1, 2022
I reopened #86926, you can follow along on shipping the arm dart SDK there.
This issue is only tracking adding the architecture slice for the listed binaries.
repentsinner commentedon Sep 12, 2022
I was curious about outstanding offenders and while most are
gen_snapshotrelated there are a handful of others. Looking forward to this being resolved as I'm trying to avoid installing Rosetta on this new machine almost two years post arm64 transition.Thanks for all of the efforts in this direction!
52 remaining items
flutter-triage-bot commentedon Nov 20, 2025
This issue is assigned to @vashworth but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
jmagman commentedon Jan 22, 2026
We're close to completing this so Flutter developers don't need to install Rosetta for any flows.
The last work is tracked in #180694, which is blocked on #121178, which is being actively worked on.
jmagman commentedon Apr 10, 2026
Apple announcement:
vashworth commentedon May 6, 2026
Fixed by #185868.
github-actions commentedon May 20, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.