## Issue This _was_ a setup issue but I think it should have been more obvious. We've had a mistake in our `firebase.json` config for a while (a trailing comma) that I've only just found due to `ios_config.sh` silently continuing when it couldn't parse the config. I think the script should have errored out if it found, but couldn't parse the config. The script _is_ set up to exit on error which would have aborted the build due to the bad config: https://github.com/invertase/react-native-firebase/blob/e3d6d222f0a83f6a3f6ea6975401e4b03cc4421a/packages/app/ios_config.sh#L29 However, the parsing of the firebase.json config has an `|| echo ''` which results in the error from the `ruby` call being hidden from the script: https://github.com/invertase/react-native-firebase/blob/e3d6d222f0a83f6a3f6ea6975401e4b03cc4421a/packages/app/ios_config.sh#L91 You can see the error in Xcode's build log: I'm skipping including files below as I don't think they're relevant (bar firebase.json which is below). This was originally deployed under @react-native-firebase/* 19.2.2 but the same is still true of the script under 22.4.0 (which I'm currently updating to). --- ## Project Files ### Javascript Click To Expand #### `package.json`: ```json # N/A ``` #### `firebase.json` for react-native-firebase v6: ```json { "$schema": "../../../node_modules/@react-native-firebase/app/firebase-schema.json", "react-native": { "app_data_collection_default_enabled": true, "analytics_auto_collection_enabled": true, "analytics_default_allow_ad_personalization_signals": false, "analytics_default_allow_ad_storage": false, "analytics_default_allow_ad_user_data": false, "analytics_default_allow_analytics_storage": true, "analytics_idfv_collection_enabled": true, "google_analytics_adid_collection_enabled": false, "google_analytics_automatic_screen_reporting_enabled": false, "google_analytics_registration_with_ad_network_enabled": false, "google_analytics_ssaid_collection_enabled": false, } } ``` ### iOS Click To Expand #### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like: ```ruby # N/A ``` #### `AppDelegate.m`: ```objc // N/A ``` --- ### Android Click To Expand #### Have you converted to AndroidX? - [ ] my application is an AndroidX application? - [ ] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [ ] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`: ```groovy // N/A ``` #### `android/app/build.gradle`: ```groovy // N/A ``` #### `android/settings.gradle`: ```groovy // N/A ``` #### `MainApplication.java`: ```java // N/A ``` #### `AndroidManifest.xml`: ```xml ``` --- ## Environment Click To Expand **`react-native info` output:** ``` OUTPUT GOES HERE ``` - **Platform that you're experiencing the issue on**: - [ ] iOS - [ ] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - `e.g. 5.4.3` - **`Firebase` module(s) you're using that has the issue:** - `e.g. Instance ID` - **Are you using `TypeScript`?** - `Y/N` & `VERSION` --- - π Check out [`React Native Firebase`](https://twitter.com/rnfirebase) and [`Invertase`](https://twitter.com/invertaseio) on Twitter for updates on the library.