Reputation: 81
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!
Upvotes: 8
Views: 6176
Reputation: 31
fixed issue
https://github.com/firebase/firebase-ios-sdk/issues/1585
Please download the latest version.
Upvotes: 2
Reputation: 4166
Have you tried to delete completely the derived data?
You can find the folder to delete under "Preference - Locations" of XCode:
Then delete it and try to rebuild the project.
Upvotes: 1