FirebaseAnalytics.h’ file not found

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

Author: Fantashit

3 thoughts on “FirebaseAnalytics.h’ file not found

  1. 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!

  2. @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

Comments are closed.

FirebaseAnalytics.h’ file not found

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

Author: Fantashit

4 thoughts on “FirebaseAnalytics.h’ file not found

  1. 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!

  2. @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

Comments are closed.

FirebaseAnalytics.h’ file not found

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

Author: Fantashit

1 thought on “FirebaseAnalytics.h’ file not found

Comments are closed.