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.
Similar to iOS, building your application to a tvOS device involves two steps:
要选择 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.