Version: 2022.1
言語: 日本語
tvOS
tvOS Player Settings

要件と互換性

Although the Apple TV platform (tvOS) is similar to the iOS platform, there are some differences between the two. Before developing your application for tvOS, review the requirements, compatibility notes, and known limitations.

要件

tvOS 向けの開発には、以下が必要です。

  • Xcode 7.1 以降。

互換性

It’s best practice to create a separate branch or copy of your application and port that to Apple TV. tvOS only supports a subset of the iOS framework. This means that plug-ins that are compatible with iOS might not be compatible with tvOS.

If your app uses more than 4 GB on disk, break it into smaller parts and use On Demand Resources.

Note: Bitcode is included with tvOS builds, which adds around 130 MB to your executables. App Store servers strip this code, so it doesn’t affect your distribution size. To estimate Bitcode size, analyze the LLVM sections in your executable from the command line with otool -1.

オンデマンドリソースへの対応の実装

tvOS limits how much disk space your application can reserve. The main application installation bundle size can’t be larger than 4 GB. The limits for additional downloadable content are up to 2GB for in-use assets, and up to 20GB of total downloadable content. Apple recommends On Demand Resources (ODR) for tvOS downloadable content, which is the best disk space management for tvOS. Unity supports ODR via Asset Bundles. For more information about ODR implementation, see the Unity blog Mastering on-demand resources for Apple platforms.

既知の制限

  • オンスクリーンキーボードは単一行入力に限定されています。
  • tvOS Simulator doesn’t emulate the Apple TV Remote as an app controller, which means apps can’t access its input.
tvOS
tvOS Player Settings