Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Removing Advertisement package to disable IDFA also disables in app purchases.

Discussion in 'Unity Ads & User Acquisition' started by MobileGamesPro, Jun 8, 2020.

  1. MobileGamesPro

    MobileGamesPro

    Joined:
    Nov 4, 2018
    Posts:
    11
    Hello, I recently updated unity to 2019.3.14f1 from 2019.2.19f1 and when updating my game in the app store it told me that I am using IDFA.

    Ads is disabled from the services window.

    I have deleted ads package (Window -> Package manager -> Advertisement -> Remove) but then in XCode it gives an error, it does not let in app purchases work.

    I've also tried this:
    https://answers.unity.com/questions/1698027/how-to-remove-idfa-for-an-ios-build-that-is-target.html
    but iTunes Connect continues to say that I am using IDFA.

    What can I do to disable IDFA and continue using in app purchases?
    Thank you.
     
  2. sbankhead

    sbankhead

    Unity Technologies

    Joined:
    Jul 27, 2014
    Posts:
    97
    Can you please link the error.
     
  3. MobileGamesPro

    MobileGamesPro

    Joined:
    Nov 4, 2018
    Posts:
    11
    clang: error: no such file or directory: '/Users/administrador/Documents/MyGame/MyGame/Libraries/com.unity.ads/Plugins/iOS/UnityMonetizationNativePromoAdapterWrapper.m'

    com.unity.ads folder does not exist.

    Thanks for your help.
     
  4. MobileGamesPro

    MobileGamesPro

    Joined:
    Nov 4, 2018
    Posts:
    11
    I have deleted folder Library and the folder that Xcode uses (both inside the folder of my game), I have re-created everything and it stopped giving the error in Xcode. Solved.