I'm using segment library via CocoaPods. I have another framework target in the app in which I have added these:
target :Model do
pod 'Segment-Wootric'
pod 'Segment-Firebase'
end
When I try to build the project I get this error:
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_FIRApp", referenced from: objc-class-ref in SEGFirebaseIntegration.o "_OBJC_CLASS_$_FIROptions", referenced from: objc-class-ref in SEGFirebaseIntegration.o "_OBJC_CLASS_$_FIRAnalytics", referenced from: objc-class-ref in SEGFirebaseIntegration.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I remove this pod: pod 'Segment-Firebase' and do pod install
It works fine.
What should I do??