iOS 应用因 Facebook SDK 中的 IDFA 而被拒绝

标签 ios facebook appstore-approval ads

Reasons Program License Agreement PLA 3.3.12

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.

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
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.

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

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:

grep -r advertisingIdentifier .

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

我该如何解决这个问题?

最佳答案

我的解决方案是 facebook 3.20 SDK 确实没问题,但我不得不删除他们包含在 FacebookSDK.framework 中的 FBAudience 框架。

一旦我删除了 FBAudience 框架,然后运行 ​​

otool -L myAppName.app/myAppName

我不再看到 AdSupport 库捆绑到我的构建中,像这样打印在终端中:

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

关于iOS 应用因 Facebook SDK 中的 IDFA 而被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25843264/

相关文章:

ios - 附加 View 插入到从 Xib 加载的 UICollectionView 中

ios - Facebook 错误 Invalid_access token

facebook - 有没有人有 Visual Studio 2010 for XHTML+RDFa 的验证模式?

iphone - iOS 应用程序更新可以停滞到特定日期吗?

ios - 无法在属性初始值设定项中使用实例成员 'server'

IOS 8 界面生成器 UITableViewCell 对齐

facebook - 您如何获得 Facebook 访问 token ?

ios - 更改应用名称

ios - 无法提交 iOS 应用程序以供审核 - "There are one or more errors on the page."

iphone - 如何让处理程序重复 UIView animateWithDuration?