Search Unity

About #define UNITY_USES_IAD

Discussion in 'Editor & General Support' started by minevr, May 24, 2021.

  1. minevr

    minevr

    Joined:
    Mar 4, 2008
    Posts:
    1,018
    Cause:
    1. 3 Safety: Kids Category
    Guideline 1.3 - Safety - Kids Category
    We noticed that your Kids Category app includes analytics, advertising and collects, transmits, or has the ability to share personal information or device information with third parties. Specifically:
    - Your app includes third-party analytics or third-party advertising with the ability to collect, transmit or share identifiable information, including, for example, IDFA. We found that your app references the ASIdentifierManager API, which provides access to a user's IDFA, in the following location(s) in your binary:
    • Frameworks/UnityFramework.framework/UnityFramework
    It would be appropriate to remove all instances of “ASIdentifierManager” from your app, even if they are not utilized in your app's functionality.

    New create null Unity project to test,and build to Xcode project.
    I find xcode "Classes/Preprocessor.h" is different.

    upload_2021-5-24_13-16-24.png

    if Unity 2019.4.26f1, #define UNITY_USES_IAD 0
    upload_2021-5-24_13-18-32.png

    if Unity 2021.1.7f1 #define UNITY_USES_IAD 1
    upload_2021-5-24_13-18-21.png

    Why? Thanks.

     
  2. minevr

    minevr

    Joined:
    Mar 4, 2008
    Posts:
    1,018
    Unity 2020.3.8f1, #define UNITY_USES_IAD 0
    upload_2021-5-24_16-26-39.png