8
votes

I'm try upgrade firebase from version 4.2.0 to version 5.4.1. I'm getting this error, while building IOS:

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

any ideas how to fix that? thanks!

2

2 Answers

1
votes

Have you tried to delete completely the derived data?

You can find the folder to delete under "Preference - Locations" of XCode:

enter image description here

Then delete it and try to rebuild the project.