Search Unity

tvOS Issues - Advertisements 3.2.0

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

  1. spokrock

    spokrock

    Joined:
    Oct 16, 2017
    Posts:
    8
    **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,519
    @spokrock

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