0

I am new to IOS app development..I trying to integrate firebase firestore..After doing all add commands..I build using command+B then I am getting below errors...how to solve

Below is my error

enter image description here

Below is my project structure

enter image description here

Gowthaman M
  • 8,057
  • 8
  • 35
  • 54
  • https://www.bountysource.com/issues/39247126-clang-error-linker-command-failed-with-exit-code-1-use-vto-see-invocation. I got solution here..but I do not know how to apply – Gowthaman M Aug 28 '18 at 06:36
  • Try to open project.xcworkspace instead of project.xcodeproj. – Azat Aug 28 '18 at 06:42
  • ya but I do not know how to do that....I have this two file `project.xcworkspace`, `project.xcodeproj` but I am not getting how to open as you mention...I new for iOS please help – Gowthaman M Aug 28 '18 at 06:46
  • 1
    Press Command + Q to exit xcode. And open testing_gowtham.xcworkspace. – Azat Aug 28 '18 at 06:48

2 Answers2

3

Try to open project.xcworkspace instead of project.xcodeproj.

Note: Press Command + Q to exit xcode. And open yourfile.xcworkspace.

Gowthaman M
  • 8,057
  • 8
  • 35
  • 54
Azat
  • 490
  • 2
  • 13
1

Clean your project and build again solve your problem.

Product - Clean

Then also, if error is still there delete you derived data.

Library/Developer/Xcode/ Derived data

teja_D
  • 383
  • 3
  • 18