Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

tvOS Issues - Advertisements 3.2.0

Discussion in 'Unity Ads' started by spokrock, Aug 8, 2019.

  1. spokrock

    spokrock

    Joined:
    Oct 16, 2017
    Posts:
    5
    **This only resolves the Xcode build process - seeing that Ads was probably working in this version:
    https://issuetracker.unity3d.com/is...building-with-advertisement-package-2-dot-3-1

    Version 3.2.0
    Not all of the iOS meta data files are flagged for tvOS and as result causes Xcode to fail on build.

    Insert this into each meta data file of the Advertisement Package for 3.2.0 under the plugins/iOS folder.
    - first:
    iPhone: iOS
    second:
    enabled: 1
    settings: {}
    - first:
    tvOS: tvOS
    second:
    enabled: 1
    settings: {}

    The files affected are as follows:
    UnityJsonAdditions.h.meta
    UnityAdsPurchasingWrapper.h.meta
    UnityAdsUtilities.h.meta
    UnityAds.framework.meta

    *Warning this only allows the project to build for tvOS sim due to the missing tvOS arm64 slice*
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,387
    @spokrock

    Thanks for reporting this issue. I'll pass it along to the engineering team and it should be fixed in a future version.
     
unityunity