juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
894 stars 514 forks source link

Segmentation fault with Xcode Beta #658

Open lvolland opened 1 year ago

lvolland commented 1 year ago

Hi, I have install the new Xcode beta and iOS 17 on my devices. And now, my app using "mobile_scanner" as a dependencies Segfault when linking

Screenshot 2023-06-06 at 18 12 00

I have try to make an empty app with flutter create and just add mobile_scanner as dependencies but segfault stay appears.

Thanks in advance

svenopdehipt commented 1 year ago

This seems to be related to Google ML-Kit (https://github.com/googlesamples/mlkit/issues/687) and is solved (for me) by adding -ld64 to the other linker flags (https://developer.apple.com/forums/thread/731089).

navaronbracke commented 9 months ago

Is this still an issue on XCode 15.1 ?

navaronbracke commented 8 months ago

@lvolland Does this still happen after upgrading to XCode 15.2 ?