title: Multiple firebase apps, crash reporting configuration issue
body: <p>I have configured multiple firebase databases in my single iOS app. </p>
  
  <p><a href="https://i.stack.imgur.com/qbt8U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qbt8U.png" alt="xcode screen shot"></a></p>
  
  <p>here is the code in my AppDelegate, that selects which firebase db I have to choose at run-time</p>
  
  <pre><code>func initFirebase(){
  
          // Check the Flag which Firebase to connect with
          if (UserDefaultsManager().getFirebaseConfiguration()){
  
              let resource = UserDefaultsManager.env_firebase?.value(forKey: "resource") as! String
              print("resource \(resource)")
              let filePath = Bundle.main.path(forResource: resource, ofType:"plist")
              let options = FirebaseOptions(contentsOfFile:filePath!)
              FirebaseApp.configure(options: options!)
  
          }
      }
  </code></pre>
  
  <p>This is all working fine. </p>
  
  <p>Issue is with crash reporting, I have to make the firebase crash reporting dynamic too. </p>
  
  <p>Right now I have configured my firebase crash reporting with <code>jBackend-genetech-dev-crash-reporting.json</code> , here is my crash reporting shell script. </p>
  
  <pre><code># Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist (its my genetech-dev firebase service account actually) file
  GOOGLE_APP_ID=1:740631780656:ios:ddccc74c2f726b3a
  
  
  # Replace the /Path/To/ServiceAccount.json with the path to the key you just downloaded
  "${PODS_ROOT}"/FirebaseCrash/upload-sym "${SRCROOT}/JamesApp/jBackend-genetech-dev-crash-reporting.json"
  </code></pre>
  
  <p>So When I connect my app to the firebase db with configuration defined in service account <code>GoogleService-Info.plist</code> its working flawlessly i.e I am getting the crash reports with the exact line number of the crash. here is the screenshot. </p>
  
  <p><a href="https://i.stack.imgur.com/I8Y9h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I8Y9h.png" alt="crash reporting OK"></a></p>
  
  <p>But whenever I connect with other firebase accounts example <code>GoogleService-Info-mh6-prod.plist</code>, I am getting the crash reports in this case too but with <code>no Line number</code>, see screenshot below.</p>
  
  <p><a href="https://i.stack.imgur.com/h094f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h094f.png" alt="crash reporting NOK"></a></p>
  
  <p><strong>More Info</strong></p>
  
  <p>Am I testing on real device? Yes</p>
  
  <p>Is bitcode support disabled in my project? Yes</p>
  
  <p><strong>Question:</strong></p>
  
  <p>How to make my crash reporting script dynamic in my case.
  I have seen this <a href="https://stackoverflow.com/questions/41732390/ios-firebase-crash-reporting-error-running-build-script">iOS Firebase Crash Reporting - Error running build script</a> , i.e making the script dynamic depending upon the app configuration variable i.e release/debug. but my scenario is different, my app select the firebase database depending on the app's System settings bundle. seen screenshot below. </p>
  
  <p><a href="https://i.stack.imgur.com/lx2DA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lx2DA.png" alt="enter image description here"></a></p>