I have cordova-plugin-firebase
(1.1.3) and cordova-plugin-firebase-analytics
(1.0.0) installed in my ionic project. But when I build, I get duplicate symbols error in Xcode like below:
ld:110 duplicate symbols for archetecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I had both plugins installed before and they both worked well. I need to use the crashlytics feature so I updated cordova-plugin-firebase to the newest version(1.1.3), but then I get this message on firebase console:
To see this data, make sure your app is using the Firebase Analytics SDK and the latest version of Crashlytics.
So I updated cordova-plugin-firebase-analytics too(before I was using 0.11.0) and then the message on firebase console disapeared(but build failed), and now I'm getting duplicate symbols error. But if I remove analytics plugin, I get library not found for -lFirebaseCore
error.
How can I remove duplicate symbols error?