Skip to content

Add ARM simulator architecture slice to App.framework to support Apple Silicon #69334

@jmagman

Description

@jmagman

With the upcoming support for Apple Silicon ARM simulators, App.framework (and add-to-app xcframework) needs a simulator ARM slice on ARM macOS. Universal (fat) App.framework can no longer contain architectures for both iphoneos and iphonesimulator since they need to be build against different SDKs, but they can no longer be lipod together (lipo complains both binaries contain arm64 and fails).

Primarily this is a problem when building the debug stub framework:

'lipo',
...darwinArchs.map((DarwinArch iosArch) =>
environment.fileSystem.path.join(buildOutputPath, getNameForDarwinArch(iosArch), 'App.framework', 'App')),
'-create',
'-output',
resultPath,

And in flutter build ios-framework that smush together plugin frameworks.

Flutter.framework engine work tracked in #64502

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowplatform-host-armBuilding on an ARM-based platformplatform-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