Turning Firebase Analytics on on Xcode

后端 未结 3 1459
鱼传尺愫
鱼传尺愫 2021-01-30 19:13

I am trying to test the implementation of my Firebase Analytics. In their documentation they state that:

Enable debug mode by passing the -FIRDebugEnable

3条回答
  •  一生所求
    2021-01-30 20:11

    I tried editing scheme and adding parameters, https://firebase.google.com/docs/analytics/ios/start but it did not work for me. In addition, I added following code after configuring FirebaseApp, at AppDelegate, didFinishLaunchingWithOptions

        FirebaseApp.configure()
        Analytics.setAnalyticsCollectionEnabled(true)
    

    and it worked for me. I hope it helps you too.

提交回复
热议问题