Skip to main content
1 / 4

FirebaseAnalyticsを使ってシュミレートしたが、エラーが消えません

問題点

FirebaseのAnalyticsを使ったコードを実行したところ、次の様なエラーが表示され、画面が表示されませんでした。

2020-04-26 19:59:57.123631+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 19:59:57.124085+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 19:59:57.143741+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 19:59:57.156748+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled

試したこと

私のinfo.plist内で、FirebaseScreenReportingEnabledを逆にYESに設定したところ、以下のエラーが表示され、画面が表示されませんでした。

2020-04-26 20:12:53.585528+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-04-26 20:12:53.610520+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 20:12:53.610666+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 20:12:53.635436+0900 ShrineApp2[3552:1609114] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.649835+0900 ShrineApp2[3552:1609115] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.661723+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled```


どの様にすればエラーを消せるでしょうか、ご教示お願いします。