如何检查我的应用程序在哪里使用IDFA

时间:2023-01-28 18:16:52

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

当我向app Store提交我的应用时,我收到一条消息:“你的应用正在使用广告标识符(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.

我不再显示广告了,所以我说,当我被问到的时候,我没有使用IDFA。我还尝试提交应用程序,说我正在使用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?

当我展示广告时,我使用的是MoPub和Facebook的观众网络。有没有办法知道我在哪里使用IDFA?

1 个解决方案

#1


76  

In order to check Advertising Identifier, you need to follow the following steps:

为了检查广告标识符,您需要遵循以下步骤:

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

    现在,当前工作目录将是您的项目文件夹。

  2. Find all the SDK that uses "Advertising Identifier" using following commands:

    查找使用“广告标识符”的所有SDK,使用以下命令:

    $ find . | grep -v .svn | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
    

    or

    $ find . -type f | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
    

    and / or

    和/或

    $ grep -lr "advertisingIdentifier" * | grep -v .svn | grep -v .md
    
  3. After getting the list of frameworks, search for the frameworks that MATCHES the query. Remove/ Upgrade those frameworks as per your requirement.

    获取框架列表之后,搜索匹配查询的框架。根据您的要求删除/升级这些框架。

#1


76  

In order to check Advertising Identifier, you need to follow the following steps:

为了检查广告标识符,您需要遵循以下步骤:

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

    现在,当前工作目录将是您的项目文件夹。

  2. Find all the SDK that uses "Advertising Identifier" using following commands:

    查找使用“广告标识符”的所有SDK,使用以下命令:

    $ find . | grep -v .svn | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
    

    or

    $ find . -type f | grep "\.a" | grep -v "\.app" | xargs grep advertisingIdentifier
    

    and / or

    和/或

    $ grep -lr "advertisingIdentifier" * | grep -v .svn | grep -v .md
    
  3. After getting the list of frameworks, search for the frameworks that MATCHES the query. Remove/ Upgrade those frameworks as per your requirement.

    获取框架列表之后,搜索匹配查询的框架。根据您的要求删除/升级这些框架。