I\'m building my first iOS application, and I am using Firebase to handle authentication, database, etc. I added a sign up screen and used the following code to create a new
If you're using Scene delegate from and you have more iOS versions like 9, 10 until 13, you must call in AppDelegate.swift in this way:
if #available(iOS 13.0, *) {
} else {
FirebaseApp.configure()
}
And in SceneDelegate.swift this way:
if #available(iOS 13.0, *) {
FirebaseApp.configure()
}
These settings will exclude error like: *
*** Terminating app due to uncaught exception 'com.firebase.core', reason: 'Default app has already been configured.'