Turning Firebase Analytics on on Xcode

后端 未结 3 1466
鱼传尺愫
鱼传尺愫 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:05

    I think you should check console log on XCode. Because I will show log

    To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see https://help.apple.com/xcode/mac/8.0/#/dev3ec8a1cb4)

    Check again, if you don't:

    • Add key FirebaseCrashlyticsCollectionEnabled has value true in Info.plist
    • set key IS_ANALYTICS_ENABLED is true in GoogleService-Info.plist
    • Make sure file GoogleService-Info.plist add will all targets and save in root project

提交回复
热议问题