Reputation: 1
iOS Extension - Fatal Exception: com.firebase.core Default app has already been configured.
Upvotes: 0
Views: 805
Reputation: 2451
From the message it is clear that FIRApp's
configure function is called twice by your app. It is supposed to call once. The best place to call it, is in the func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool
in your AppDelegate
.
In order to identify from where it is being called you can use 2 approaches.
CMD + Shift + F
and search for configure
keyword and identify from the results.Upvotes: 1