googlecodelabs / mlkit-ios

Other
40 stars 14 forks source link

Support installing using Swift Package manager #18

Open sukhrobkhakimov opened 3 years ago

sukhrobkhakimov commented 3 years ago

Google ML Kit and Firebase libraries use some common libraries like GoogleDataTransport. As a result, I have a duplicate symbols error when installing Google ML Kit using Cocoapods and Firebase using Swift Package Manager.

More and more iOS developers are using SPM instead of Cocapods or other third-party dependency managers these days. Thus, I think it is high time to migrate iOS libraries including Google ML Kit to SPM.

penultimate-labs commented 2 years ago

Seconded. There are collisions in the respective Promise frameworks that prevent a project from using both Firebase and Google ML Kit together.