App crashing when using Firebase Auth, reason: 'Default app has already been configured.'

前端 未结 9 1685
梦如初夏
梦如初夏 2020-12-13 23:34

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

9条回答
  •  爱一瞬间的悲伤
    2020-12-14 00:31

    You can call once in AppDelegate init method to configure.

    override init() {
       // Firebase Init
       FIRApp.configure()
    }
    

提交回复
热议问题