Debugging Your Application
Universal Windows Platform
Build your application for tvOS
To build your Unity application for tvOS, use the following steps:
- Open the Build Profiles window from File > Build Profiles.
- Select Add Build ProfileA set of customizable configuration settings to use when creating a build for your target platform. More info
See in Glossary to open the Platform Browser window.
- Select tvOS from the list of available platforms. If tvOS isn’t an option, select Install with Unity Hub and follow the installation instructions. For information on how to install modules, refer to Add modules.
- Set Architecture to the architecture type you want Unity to build your application for.
- If you want to create an Xcode project for your application, enable Create Xcode Project.
- Select Switch Profile to set the new build profile as the active profile.
- Click Build.
Similar to iOS, building your application to a tvOS device involves two steps:
- Unity builds an Xcode project.
- Xcode builds that project to your device.
To select the device that Xcode builds to, follow these steps:
- Connect the device to your computer.
- 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. Refer to iOS build settings reference 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
Universal Windows Platform