ios – 我在我的项目中使用谷歌分析确实需要AdSupport Framework

我在我的项目中使用谷歌分析,这需要Adsupport框架.
当我使用AdSupport框架时,我的应用程序被拒绝显示消息:

Dear developer,

We have discovered one or more issues with your recent delivery for
“Zee News English”. To process your delivery,the following issues
must be corrected:

Improper Advertising Identifier [IDFA] Usage. Your app contains the
Advertising Identifier [IDFA] API but you have not indicated its usage
on the Prepare for Upload page in iTunes Connect.

Once these issues have been corrected,go to the Version Details page
and click “Ready to Upload Binary.” Continue through the submission
process until the app status is “Waiting for Upload.” You can then
deliver the corrected binary.

Regards,

我应该在iTunes上发布应用程序时选择IDFA选项.除了谷歌分析我没有使用任何广告的东西.

解决方法

如果您拥有最新的Google AnalyticsSDK( you can check here),请确保:

>您再也没有对AdSupport框架的引用(not needed since 3.0.3c GA SDK version,for GA basic uses);
>您没有libAdIdAccess.a的引用,因为它需要AdSupport框架;
>您可以参考libGoogleAnalyticsServices.a.

可能有用的链接:https://code.google.com/p/analytics-issues/issues/detail?id=387

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...