skip to Main Content

i’m following a tutorial for a login app with firebase and i have only one error i can’t understand. I already searched online and i found somenthing similar here on stackoverflow but didn’t understand the solution (it was too old).
This is the error:enter image description here

Can you guys help me with that?

2

Answers


  1. I looks like you are compiling duplicate source files.

    1. Open PromisesObjC in the Project Navigator
    2. Go to the Build Phases tab
    3. Check the Compile Sources section for duplicates and remove the duplicate entry
    4. Clean Build Folder
    Login or Signup to reply.
  2. This occurs when you install Firebase via Swift Package Manager, and Google AdMobs SDK via CocoaPods. Unfortunately, this is how the current official documentation guides you. You end up with duplicated libraries in your project.

    After trying many things, I’ve got rid of this issue by installing Firebase via Cocoapods as well.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search