googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.44k stars 2.89k forks source link

[Feature request] Swift Package Manager support #821

Open bharath559 opened 1 month ago

bharath559 commented 1 month ago

What's your feature request? Please describe. Most of the current industry projects uses SPM for dependency manager, mlkit only allows cocopods.

Mobile environment Android, IOS or both

iOS

Additional context

I have created temp project and resolved mlkit dependencies using pod, then created xcframework to directly use binary files in the project.

But there are numerous instances it would compile about symbols not found.

Biswamohan-Dev commented 1 month ago

Yes, I'm facing the same issues @bharath559 Just after I added the pod, I'm getting around 63 errors about symbols not found.