如何从iOS应用程序中完全删除iAd

时间:2016-06-15 21:17:55

标签: ios swift crashlytics twitter-fabric

因为iAd很快就会关闭,我尝试删除iOS应用中的所有广告引用(目前位于AppStore)并提交没有广告的新更新。我改变的唯一另一件事是在我的应用程序中添加了Twitter Fabric的Crashlytics支持。

无论如何,我提交了更新,我的应用程序被拒绝了,我收到了以下消息:

From Apple
Program License Agreement
PLA 3.3.12

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

Specifically, section 3.3.12 of the Apple 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."

Note: iAd does not use the AdSupport framework, ASIdentifierManager, or the Advertising Identifier. Therefore they are not required for iAd implementations and should not be included in your app for iAd support. 

If your app is serving ads, please:

- Ensure that you have tested your app on a device, not just the simulator, and that you have removed all previous versions of your app prior to testing

- Provide us the steps to locate ads in your app

If your app does not serve ads, 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, please see the nm man page. 

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.

过去一周我一直在网上寻找解决方案,但没有成功。收到相同拒绝信的所有其他人都有不同的情况,不适用于我的情况。此外,其他线程上建议的脚本都没有对我有用,而且其他线程上的许多解决方案都是通过更新他们的第三方库来解决的......不幸的是,这对我没用。

我的问题是:如何确保iAd完全从我的应用中删除,其中包括如何删除广告标识符。我尝试使用Apple建议的方法,但我不知道如何成功使用它们。

非常感谢帮助解决我的困境,谢谢!

P.S。我可能错了,但我想到了整个时间,我的问题可能是由Fabric / Crashlytics引起的......但这没有任何意义,因为这些库已经更新,我没有安装他们的广告平台

0 个答案:

没有答案