Version: 2023.2
Debugging Your Application
Web

Building your application for tvOS

To create a build for tvOS, go to Build Settings (menu:** File > Build Settings). In the Platform list, select tvOS, then select the Switch Platform button.

tvOS Build Settings
tvOS Build Settings

Similar to iOS, building your application to a tvOS device involves two steps:

  1. Unity builds an Xcode project.
  2. Xcode 将该项目构建到您的设备。

要选择 Xcode 的构建目标设备,请执行以下步骤:

  1. 将设备连接到您的计算机。
  2. From Xcode’s main menu, go to Product > Destination, and select your device from the Devices list.

tvOS build settings are the exact same as those for iOS. See iOS build settings to check which settings you can configure for your build.

Incremental build pipeline

Unity uses the incremental build pipeline when it builds the Player for tvOS. This means that Unity incrementally builds/generates files such as Information Property List (plist) files and Entitlement files. If you implement callbacks that modify or move any iOS file or asset that the incremental build pipeline uses, see Creating non-incremental builds.

Debugging Your Application
Web