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

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...