swift - Linker Error occurs when using Firebase and Google pods -


i having linker error being produced on build , don't know how fix it. have tried many solutions on stackoverflow , none of them have worked me. appreciated.

(summary of error: ld: 44 duplicate symbols architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation)

error message:

linker error

to begin, had looked through many solutions , tried of them, none of them had worked, started go through these steps:

  1. recreate project, keep important things. recreated project copying assets , main.storyboard files new 1 had created.

  2. installing pods correctly. went terminal, , watched video carefully, explained pods needed firebase/auth , googlesignin. used pod init initialize pods in project. then, used open podfile, install pods needed. when in podfile, turned off smart quotes because had created errors in project before. typed in pod 'firebase/auth' , pod 'googlesignin' saved file, , ran pod install. afterwards, must open .xcworkspace file project , not original project file.

  3. coding viewcontroller.swift , appdelegate files. went through tutorial using, , inputted same code guy telling code. after coding of these files, code ran , worked!


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -