[ad_1]
I’m utilizing FirebaseAnalytics in a cocoa improvement pod, and going through an error throughout compilation, saying
Undefined symbols for structure x86_64:
"_OBJC_CLASS_$_FIRAnalytics", referenced from:
objc-class-ref in FirebaseService.o
ld: image(s) not discovered for structure x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My pod file is like
pod 'Firebase/Crashlytics', :inhibit_warnings => true
pod 'Firebase/Analytics', :inhibit_warnings => true
and the podsec within the pod is like
spec.dependency 'Firebase/Crashlytics'
spec.dependency 'Firebase/Analytics'
It so solely occurs after I use any Analytics.* in my code within the improvement pod. If I transfer the logic to the AppDelegate (the principle app undertaking), there isn’t a error.
I’ve tried cleansing up the Framework Search PATHs from each app and the event pod, as urged in https://github.com/firebase/firebase-ios-sdk/points/7614#issuecomment-786827116, however nonetheless no luck.
Any concepts?
[ad_2]
