如何检查我的应用程序在哪里使用IDFA [英] How do I check where my app is using IDFA
问题描述
将我的应用提交到App Store时,我收到以下消息:您的应用正在使用广告标识符(IDFA).您必须提供有关IDFA使用情况的详细信息,或者将其从应用中删除,然后再次提交二进制文件. "
While submitting my app to the App Store, I got this message: "Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again."
我不再展示广告,因此我被问到我没有使用IDFA.我还说我正在使用IDFA来展示定向广告,因此尝试提交了该应用程序.
I am no longer displaying ads so I said that I was not using the IDFA when I was asked. I also tried submitting the app by saying that I was using the IDFA to display targeted ads.
当我展示广告时,我正在使用MoPub和Facebook Audience Network.有没有办法查看我在哪里使用IDFA?
When I WAS displaying ads, I was using MoPub and Facebook Audience Network. Is there a way to see where I was using the IDFA?
推荐答案
要检查广告标识符,您需要执行以下步骤:
In order to check Advertising Identifier, you need to follow the following steps:
-
打开终端窗口.运行以下命令:
Open the terminal window. Run the following command:
cd (drag and drop your project folder here) Your_Project_Path
现在,当前的工作目录将是您的项目文件夹.
Now, the current working directory will be your project folder.
使用以下命令查找所有使用广告标识符"的SDK:
Find all the SDK that uses "Advertising Identifier" using following commands:
find . | grep -v .svn | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
或
find . -type f | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
和/或
grep -lr "advertisingIdentifier" * | grep -v .svn | grep -v .md
获取框架列表后,搜索匹配查询的框架.根据您的要求删除/升级这些框架.
After getting the list of frameworks, search for the frameworks that MATCHES the query. Remove/ Upgrade those frameworks as per your requirement.
这篇关于如何检查我的应用程序在哪里使用IDFA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!