Skip to content

iOS Simulator arm64 still blocked on google_mlkit_face_detection 0.13.2 (MLImage built for iOS only) #856

@deakao

Description

@deakao

Hi maintainers 👋

I’m reporting an iOS Simulator arm64 issue still reproducible with the current plugin stack.

Environment

  • Flutter: 3.38.x (stable)
  • Xcode: 26.x
  • macOS: Apple Silicon (arm64)
  • Plugin: google_mlkit_face_detection: 0.13.2

Symptom

Build fails on iOS Simulator (arm64) with:

ld: building for 'iOS-simulator', but linking in object file (.../Pods/MLImage/Frameworks/MLImage.framework/MLImage[arm64][2](GMLImage.o)) built for 'iOS'

This indicates MLImage.framework being linked from an iOS-only slice while building for simulator.

What was verified

  • Simulator destination appears correctly in xcodebuild -showdestinations
  • Build for physical iPhone succeeds
  • Build for simulator fails at link stage with MLImage iOS-only binary

Reproduction

  1. Add google_mlkit_face_detection: ^0.13.2
  2. flutter pub get
  3. cd ios && pod install
  4. Build for simulator destination (arm64)
  5. Observe linker failure above

Potentially related

Could you please confirm current simulator support status for this dependency chain and whether there is a planned fix/workaround for Apple Silicon simulators?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions