After adding react-native-firebase to my iOS project it failes to build. I added it by copying the example podfile as shown below.
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'
pod 'RNFirebase', :path => '../node_modules/react-native-firebase'
When trying to build I get the following error:
/ios/Pods/Firebase/Core/Sources/Firebase.h:1:9: ‘FirebaseAnalytics/FirebaseAnalytics.h’ file not found
Any help would be appreciated
Is anybody still struggling with this issue?
In my project RN 0.44.2, in the example github I posted it is 0.45, the error the same. Clearing the project pods does not change anything unfortunately.
The example project is meant as a minimal case, please let me know if there is anything unclear about it, or if you would like me to change anything it.
Thanks for looking into this!
@Salakar the linking scripts have already been removed, we just need to release a new version and then there should be no need to run
react-native unlink react-native-firebase
@BuffMcBigHuge I’ll try and get a minor release out today