0
votes

when i try to build ios...

xcode shows an error as

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_FIRComponent", referenced from: objc-class-ref in FirebaseAuth(FIRAuth.o) "_OBJC_CLASS_$_FIRComponentType", referenced from: objc-class-ref in FirebaseAuth(FIRAuth.o) "_OBJC_CLASS_$_FIRComponentContainer", referenced from: objc-class-ref in FirebaseAuth(FIRAuth.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

this is an ionic project..for ios build through xcode

enter image description here

2
check your framework does only support device , check the framework architectureAnbu.Karthik

2 Answers

1
votes

Looks like you are missing the Firebase core library. Make sure you have this in your Podfile:

pod 'Firebase/Core'

Follow the instructions here.

0
votes

The FIRComponent symbol was introduced in the Firebase 5.5.0 release with a definition in the FirebaseCore pod and reference in the FirebaseAuth pod.

Make sure you have at least version 5.1.0 of the FirebaseCore pod installed.