Skip to content

[iOS] App crashes on iOS Devices lower than 26.x #619

Description

@vivek03codes

Steps to Reproduce

  1. Install camerawesome (latest version) in a Flutter app
  2. Build the iOS app with recent Xcode (Xcode 15 or 16)
  3. Run the app on an affected real iOS device
  4. App crashes immediately before showing any UI
  5. Xcode logs show dyld failure referencing _LocationEssentials.framework
  6. This occurs even without using the camera, as long as the plugin is included.

Expected results

  • The app should launch normally on all supported iOS devices
  • The camerawesome.framework should not weak-link or depend on private Apple frameworks
  • The plugin should be compiled against public SDKs and not cause dyld loader failures
  • No crash due to missing system frameworks

Actual results

  • The app crashes instantly on affected iOS devices
  • Flutter does not start; crash happens before main()
  • Crash trace from dyld indicates missing private framework:
Library not loaded: /System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials
Referenced from: .../Frameworks/camerawesome.framework/camerawesome
Reason: no such file, not in dyld cache

About your device

Brand Model OS
Apple iPhone 14 Pro Max 18.6.2

Also tested on:

  • iPhone 13 (iOS 26.1) – works
  • iPhone 15 (iOS 26.0) – works

Your flutter version

Flutter: 3.38.1
Dart: 3.10.0

Additional Logs

dyld[915]: Library not loaded: /System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials
  Referenced from: .../Frameworks/camerawesome.framework/camerawesome (built for iOS 26.0 which is newer than running OS)
  Reason: tried: '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file)
          '/private/preboot/Cryptexes/OS/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file)
          '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file, not in dyld cache)

* thread #1, stop reason = signal SIGABRT
frame #0: 0x00000001b61375e0 dyld`__abort_with_payload

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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