I’ve got a problem when I install pods:
‘Firebase/Analytics’
‘Firebase/Auth’
‘Firebase/Core’
‘Firebase/Firestore’
When I launch the app I get a lot of classes with their localizations and sentences "Class is implemented in both. One of the two will be used. Which one is undefined"
I can’t get solutions for days.
2
Answers
FirebaseAnalytics
is a static library and cannot be linked to multiple dynamic frameworks and the main app.More details at https://github.com/firebase/firebase-ios-sdk/blob/master/docs/firebase_in_libraries.md.
The Firebase Documentation Add Firebase to an app is a great place to start!
You’ll find info about setting up your podfile and to answer your question, this is mentioned
So your podfile would look like this
to start creating your podfile, in the console, navigate to your project directory and do this
which will create a default podfile which you can add the Firebase pods to.
If you’re having other pod issues, you may want to remove your current pods and re-do it. Start with
to remove any existing pods