How do I check where my app is using IDFA

主宰稳场 提交于 2019-11-28 03:55:14
Rumin

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:

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!