Skip to content

Disallow flutter run-ing on 32-bit development devices #97329

@jmagman

Description

@jmagman

Following the 2.10 stable cycle, Flutter will no longer build for 32-bit iOS devices. See the RFC at flutter.dev/go/rfc-32-bit-ios-unsupported.

Mark 32-bit devices as unsupported targets for flutter commands, and fail if they are targeted

$ flutter devices
3 connected devices:

iPhone 4s (mobile) • 1754b457ae0324670be2493c147bf08bdad86907 • ios            • iOS 9.3.6 13G37 (unsupported)
macOS (desktop)    • macos                                    • darwin-x64     • macOS 12.1 21C52 darwin-x64
Chrome (web)       • chrome                                   • web-javascript • Google Chrome 97.0.4692.99

bool isSupported() => true;

should become:

  bool isSupported() => cpuArchitecture == DarwinArch.arm64;

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions