Hello,
has anyone managed to add firestore analytics using cocoapods? I am trying to do it for a very long time and I tried everything I could think of, so any even slightly related info or discussion would be appreciated.
I tried adding
pod("Firebase/Analytics")
into build.gradle.kts, but that does not even sync, cause it can't generate cinterop for Firebase module. I managed to get it somewhat working by using
pod("FirebaseAnalytics")
instead and also adding needed dependencies FirebaseCore, FirebaseInstallations, GoogleUtilities and nanopb. But then I get a ton of warnings in runtime:
Class FIRAConditionalUserProperty is implemented in both /.../MyApp.app/Frameworks/shared.framework/shared and /.../MyApp.app/MyApp.debug.dylib. This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.