Skip to content

Conversation

cjohn001
Copy link
Contributor

Hello together,
since Xcode 26 even the older IOS emulators (till 17.5) now crash when MLKit libraries are linked to the binary. This update adds a comand line switch to disable mlkit libs from builds:

NSSkipMLKitFromIOSSimulator=1 ns debug ios --emulator

Note: all commands preparing/modifiying xcode projects need to be run with the environment variable in order to work. Additionally, when switching from simulator to device do not forget an ns clean.

I also removed the version pinning on the MLKit libraries. Background is, that GoogleMLKit is now on version 9. However, when pinning a subpackage of it to 8.x than the old GoogleMLKit 8 version gets added to the build instead. I have not found a different way to ensure GoogleMLKit 9 usage.

https://developers.google.com/ml-kit/release-notes?hl=de

Best regards,
Christoph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant