I'm having trouble in building iOS for react native app with react-native-firebase (https://rnfirebase.io/).
When I run the react-native run-ios, it starts the building procedure then prints this log
** BUILD FAILED **The following build commands failed:CompileC /Users/dev/Library/Developer/Xcode/DerivedData/DatingApp- hhnjjwfhinhhkbbhugkfimkvtfun/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseAuth.build/Objects-normal/x86_64/FIRAuth.o /Users/dev/Documents/Projects/DatingAndEventHosting_mobile-application/ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
https://i.stack.imgur.com/xCoTn.png
Then I build with XCode, it fails with this error
No visible @interface for 'FIRUser' declares the selector 'sendEmailVerificationBeforeUpdatingEmail:actionCodeSettings:completion:'
https://i.stack.imgur.com/ZoHwA.png
Could you please help. I tried to remove the node_modules and run all cache cleaning.
Thanks.