iOS应用程序由于IDFA在Facebook SDK中被拒绝 [英] iOS app rejected due to IDFA in Facebook SDK

查看:248
本文介绍了iOS应用程序由于IDFA在Facebook SDK中被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


理由程序许可协议PLA 3.3.12

Reasons Program License Agreement PLA 3.3.12

我们发现您的应用程序使用iOS广告标识符,但不包括广告功能。这不符合iOS开发者计划许可协议的条款,按照App Store评估指南的要求。

We found your app uses the iOS Advertising Identifier but does not include ad functionality. This does not comply with the terms of the iOS Developer Program License Agreement, as required by the App Store Review Guidelines.

具体来说,iOS开发人员计划的3.3.12节许可协议规定:

Specifically, section 3.3.12 of the iOS Developer Program License Agreement states:

您和您的应用程序(以及与您签订合同的广告服务的任何第三方)可以使用广告标识符,以及通过使用广告标识符,仅用于投放广告,如果用户重置广告标识符,则您同意不将直接或间接地将先前的广告标识符和任何派生信息组合,关联,链接或以其他方式相关联重置广告标识符。

"You and Your Applications (and any third party with whom you have contracted to serve advertising) may use the Advertising Identifier, and any information obtained through the use of the Advertising Identifier, only for the purpose of serving advertising. If a user resets the Advertising Identifier, then You agree not to combine, correlate, link or otherwise associate, either directly or indirectly, the prior Advertising Identifier and any derived information with the reset Advertising Identifier."

请检查您的代码 - 包括任何第三方库 - 删除以下任何实例:

Please check your code - including any third-party libraries - to remove any instances of:

class:ASIdentifierManager

selector:advertisingIdentifier

框架:AdSuppor t.framework

class: ASIdentifierManager
selector: advertisingIdentifier
framework: AdSupport.framework

如果您打算在将来的版本中加入广告,请从您的应用中删除广告标识符,直到包含广告功能。

If you are planning to incorporate ads in a future version, please remove the Advertising Identifier from your app until you have included ad functionality.

要帮助找到广告标识符,请使用nm工具。有关nm工具的信息,请打开一个终端窗口并输入man nm。

To help locate the Advertising Identifier, use the "nm" tool. For information on the "nm" tool, open a terminal window and enter, "man nm."

如果您无法访问库源,则可能是能够使用strings或otool命令行工具搜索编译的二进制文件。 strings工具列出了库调用的方法,otool -ov将列出Objective-C类结构及其定义的方法。这些技术可以帮助您缩小有问题的代码所在的位置。

If you do not have access to the libraries source, you may be able to search the compiled binary using the "strings" or "otool" command line tools. The "strings" tool lists the methods that the library calls, and "otool -ov" will list the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides.

我检查了谁使用IDFA通过以下命令:

I checked who uses IDFA through following command:

grep -r advertisingIdentifier .

我知道Facebook SDK(3.1.1版本)使用这个。

I knew that Facebook SDK (3.1.1 version) uses this.

我如何解决这个问题?

推荐答案

确实可以,但是我不得不删除他们在FacebookSDK.framework中包含的FBAudience框架。

The solution for me was that the facebook 3.20 SDK is indeed okay, but I had to remove the FBAudience framework that they include with the FacebookSDK.framework.

一旦我删除了FBAudience框架,并运行了

Once I removed the FBAudience framework, and ran

otool -L myAppName.app/myAppName

我不再将AdSupport图书馆捆绑在我的构建中,如终端所示:

I no longer saw the AdSupport library bundled into my build, printed in the terminal like so:

/System/Library/Frameworks/AdSupport.framework/AdSupport

这篇关于iOS应用程序由于IDFA在Facebook SDK中被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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