Fix Apple Silicon iOS simulator builds (#7646)

Apple Silicon simulator builds fail because MLImage and MLKit contain
device-labelled ARM64 objects.

Enable the Flutter ML Kit package's upstream compatibility helper, which
restores device labels for iPhone builds. This preserves the MLKit-based
functionality (avatar background removal) and complements the
notification-extension linker isolation in #7187.

Adds a complete iOS simulator build to CI to catch this build
regression.

---------

Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
Tom Brow
2026-09-14 15:14:06 -07:00
committed by GitHub
parent 4cd82f5132
commit 7c789dee09
7 changed files with 39 additions and 29 deletions

View File

@@ -131,6 +131,8 @@ jobs:
run: swift build -c release --package-path mobile/ios/BuzzPushKit
- name: Test
run: swift test --package-path mobile/ios/BuzzPushKit
- name: Build complete iOS simulator app
run: cd mobile && flutter build ios --simulator --debug --no-pub
- name: Build complete unsigned iOS release
run: cd mobile && flutter build ios --release --no-codesign --no-pub