App Store idfa被拒檢查辦法

最近應用因爲這個問題被拒兩次,理由如下:

PLA 3.3.12We 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.


我的應用被拒的原因是因爲友盟SDK的問題,具體的檢查語句如下:

打開終端cd到項目根目錄,然後執行下列語句

grep -r advertisingIdentifier .

然後涉及到idfa的類庫class等都會列出來,挨個處理吧兄弟們,目前發現的有可能存在問題的類庫有:百度統計、支付寶極簡收銀臺、友盟、ShareSDK的QQ分享部分等,大部分官網應該已經做過處理更新了,不過不要相信更新日誌,集成前先自己用語句掃一下才能放心使用,我就被友盟的給坑了一次做了小白鼠,寫着更新了,客服也說可以的沒問題,但是其實是有問題的,之後它們也發現有問題了所以又更新了一次。。。
發佈了31 篇原創文章 · 獲贊 4 · 訪問量 10萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章