Send Firebase non-fatal exceptions during iOS Appium tests

Hi,
I have several non-fatal exception messages through my app that are sent to Firebase when the app is used manually. However, when I run Appium tests and the simulator is driven by the XCUITest driver this doesn’t happen. I assume this happens because Firebase.configure() in the AppDelegate.swift file is not run. I would like to enable this.

Is there any way to achieve this?