在ios上使用firebase分析时出现受众错误 [英] Audience error while using firebase analytics on ios

查看:473
本文介绍了在ios上使用firebase分析时出现受众错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我构建了一个iOS应用,使用 Google Analytics for Firebase 来跟踪用户属性和事件。

I built an iOS app that uses Google Analytics for Firebase to track user properties and events.

启用firebase日志记录时,出现以下错误:

When enabling the firebase logging, I get the following error:


5.1 .0 - [Firebase / Analytics] [I-ACS006009]受众定义无效。观众不会被保存。受众,错误:,错误域= com.google.gmp.measurement.ErrorDomain
代码= 9受众过滤器数量超出范围
UserInfo = {NSLocalizedDescription =受众过滤器数量超出范围}

5.1.0 - [Firebase/Analytics][I-ACS006009] Audience definition is invalid. Audience will not be saved. Audience, error: , Error Domain=com.google.gmp.measurement.ErrorDomain Code=9 "Audience filter count out of range" UserInfo={NSLocalizedDescription=Audience filter count out of range}

此错误似乎与任何特定的代码行无关,但是一般警告我使用GAforF的方式存在问题。

This error seems not to be associated with any particular line of code, but a general warning that there is a problem with the way I use GAforF.

由于这似乎是一个常见的警告,是否有人能够在他们的应用程序中修复此问题?

As this seems to be a common warning, was anyone able to fix this in their apps?

推荐答案

这实际上是后端向SDK发送空的Audience过滤器的问题。您有时会在首次安装应用程序时看到此消息,或者一段时间后,SDK会再次尝试获取受众群体。您可以安全地忽略该消息,因为当后端修复问题时它最终会消失。 SDK正在按预期工作。

This is actually a problem with the Back-end sending an empty Audience filters to the SDK. You will see this message sometimes when you first install the app or after a while, the SDK tries to fetch the Audience again. You can safely ignore the message as it will eventually go away when the Back-end fixes the issue. The SDK is working as intended.

这篇关于在ios上使用firebase分析时出现受众错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆