Skip to content

Apple Silicon arm64 Simulator Build Failure (iOS 26+) #861

@enescerrahoglu

Description

@enescerrahoglu

Describe your issue. If applicable, add screenshots to help explain your problem.

When building the project using flutter build ipa or running on an Apple Silicon simulator, the build fails due to missing arm64 support in MLKit-related dependencies.

The following targets do not support arm64 architecture, which is required for iOS 26+ simulators on Apple Silicon:

GoogleMLKit
MLImage
MLKitBarcodeScanning
MLKitCommon
MLKitVision

Steps to reproduce.

Create a Flutter project

Add:
google_mlkit_barcode_scanning: latest

Run:
flutter build ipa --release
or run on iOS Simulator (Apple Silicon)

What is the expected result?

Archiving com.example.ios...
Automatically signing iOS for device deployment using specified development team in Xcode project: EXAMPLE
The following target(s) do not support arm64 architecture, which is a requirement for Apple Silicon iOS 26+ simulators:

  • GoogleMLKit (transitive dependency of Flutter plugin google_mlkit_barcode_scanning)
  • MLImage (transitive dependency of Flutter plugin google_mlkit_commons)
  • MLKitBarcodeScanning (transitive dependency of Flutter plugin google_mlkit_barcode_scanning)
  • MLKitCommon (transitive dependency of Flutter plugin google_mlkit_barcode_scanning)
  • MLKitVision (transitive dependency of Flutter plugin google_mlkit_commons)

Please contact plugin maintainers to request arm64 support to continue to be able to use the plugin on a simulator.

Did you try our example app?

No

Is it reproducible in the example app?

Yes

Reproducible in which OS?

iOS

Flutter/Dart Version?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.9, on macOS 26.4.1 25E253 darwin-arm64, locale tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.4.1)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Plugin Version?

google_mlkit_barcode_scanning: ^0.14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions