-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: 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-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Umbrella issue tracking developing Flutter on macOS ARM.
Use case: developer buys ARM Mac, installs Flutter tooling on the Mac, deploys Flutter to an iPhone.
- Build tool on macOS ARM
- Build ARM host dependencies (iproxy, libimobiledevice). Rosetta translation?
- IDE support
- Infrastructure support
Note: this is tracking host-side issues. Running Flutter on ARM macOS as a target is tracked by #60113.
Wiki page: https://github.com/flutter/flutter/wiki/Developing-with-Flutter-on-Apple-Silicon
Update: Flutter should be fully working on M1 with Rosetta translation (particularly tooling and iOS simulator). The remaining work is to get it working natively without Rosetta.
Infrastructure
- Add Mac M1 ARM machines to the prod pool #87508 Add Mac M1 ARM machines to the prod pool
Native host development (flutter tool)
- Build arm64 during Mac Host Engine build #84453
- Build Flutter macOS artifacts with ARM architecture slice #69157 (ios-deploy, libimobiledevice, etc)
- Ship apple silicon dart SDK binaries now that Dart 2.14.0-281.0.dev and higher have arm64 builds available for download #86926
- Run the SDK packaging recipe on an arm64 macOS host #97658
- Build macOS desktop
gen_snapshot_arm64andgen_snapshot_x64as arm64 binary to run natively on Apple Silicon #101138
Completed
Sub-issues
- Update iOS and macOS engine builders to Xcode 12.0 #84601 Update iOS and macOS engine builders to Xcode 12.0
- [flutter_tools] separate target platform, host platform, and architecture #60119 [flutter_tools] separate target platform, host platform, and architecture
- Building flutter tool on ARM macOS host fails dart-lang/sdk#42534 Building flutter tool on ARM macOS host fails
- Dart SDK support for macOS arm64 (Apple Silicon) dart-lang/sdk#42773 Dart SDK version is built for macOS ARM host
- Setup Flutter engine environment and build engine on M1 (Apple Silicon ARM64) #96745 Support building the engine on macOS ARM hosts
Physical devices
- "flutter build ios" fails on ARM macOS, ibtoold crashes compiling xcassets/storyboards #65133 "flutter build ios" fails on ARM macOS, ibtoold crashes compiling xcassets/storyboards
- [doctor] Add macOS architecture to doctor output #65976 (comment) Add macOS architecture to doctor output for host
- Add mac m1 machines to the staging pool #79430 Add mac m1 machines to the staging pool
Simulator
- iOS engine artifacts Flutter.xcframework contains old architecture triples directories #85062 iOS engine artifacts Flutter.xcframework contains old architecture triples directories
- Update Flutter Engine recipes to handle ARM64 simulator #84672 Update Flutter Engine recipes to handle ARM64 simulator
- Adding ARM iOS simulator times out the engine artifacts build #82736 Adding ARM iOS simulator times out the engine artifacts build
- engine gn updates required for simulator on macOS arm #66926 engine gn updates required for simulator on macOS arm
- b/162290052 Cannot launch Android emulators
- Distribute engine as Flutter.xcframework #60109 Distribute engine as Flutter.xcframework
- Deprecate --universal flag in "flutter build ios-framework" #69718 Deprecate
flutter build ios-framework --universal - Mac LUCI builders' Xcode should include iOS 14 SDK #65901 XCode SDK needs to be updated on mac LUCI builders
- flutter engine on iOS arm simulator does not build #66925 flutter engine on iOS arm simulator does not build
- Update engine script create_ios_framework to optionally take ARM simulator path #73066 Update engine script create_ios_framework to optionally take ARM simulator path
- Add buildroot support for ARM64 simulator builds #84670 Add buildroot support for ARM64 simulator engine builds
- Add ARM simulator architecture slice to App.framework to support Apple Silicon #69334 Add ARM simulator architecture slice to App.framework to support Apple Silicon
- Flutter cannot build against ARM simulators (on ARM macOS host) #64502 Flutter cannot build against iOS ARM simulators (on ARM macOS host)
- When plugins do not support ARM iOS simulators, the app fails to build #85713 When plugins do not support ARM iOS simulators, the app fails to build
Plugin support
- Work around ffi "symbol not found" error from CocoaPods on ARM Macs with x86_64 ffi gem #70796 Work around ffi "symbol not found" error from CocoaPods
- SEVG on Apple silicon macOS ffi/ffi#800 SEVG on Apple silicon macOS
- Support Apple Silicon ARM simulators invertase/firestore-ios-sdk-frameworks#16 firestore-ios-sdk-frameworks pre-built xcframeworks should support Apple Silicon ARM simulators
- Apple Silicon CocoaPods workaround issue #73686 CocoaPods Rosetta workaround has issues
- Mark google_maps_flutter as not supporting arm64 iOS simulators #87242 Mark google_maps_flutter as not supporting arm64 iOS simulator
- Mark google_sign_in as not supporting arm64 iOS simulators #87243 Mark google_sign_in as not supporting arm64 iOS simulators
- When plugins do not support ARM iOS simulators, the app fails to build #85713
Tracking Apple Silicon as a target device separately at #60113.
pakivika, edeuss, kaparray, mono0926, vinceramcesoliveros and 71 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: 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-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.