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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[SOLVED] Xcode linker error (UnityPurchasing.0) when building for tv OS 10.1

Discussion in 'iOS and tvOS' started by greenalice, Jan 25, 2017.

  1. greenalice

    greenalice

    Joined:
    May 16, 2014
    Posts:
    13
    Trying to build for Apple TV (tvOS 10.1) from Unity 5.5.0p4 using XCode 8.2.1 with Unity Purchasing enabled and I'm getting the following linker error, apparently related to Unity Purchasing. Any help would be greatly appreciated.

    http://pasteboard.co/qgHbOfUFV.png
     
  2. greenalice

    greenalice

    Joined:
    May 16, 2014
    Posts:
    13
    Solved. Had to manually add the StoreKit library in Xcode. Never had this issue when building for iOS, though.
     
    dappledore likes this.
  3. dappledore

    dappledore

    Joined:
    Feb 16, 2015
    Posts:
    12
    thanks!
     
  4. thisisjco

    thisisjco

    Joined:
    Apr 16, 2014
    Posts:
    5
    Thanks. Works.

    Project Details ( General ), Linked Frameworks and Libraries, Hit + Button and add StoreKit.