|
…
|
||
|---|---|---|
| .. | ||
| Resources | ||
| README.md | ||
Python on tvOS README
This document provides a quick overview of some tvOS specific features in the Python distribution.
Python on tvOS is largely the same as Python on iOS; most of the instructions in the iOS README can be used for tvOS builds, substituting:
-
tvOSas the identifier forPlatforms/Appleinvocations; e.g.,python Platforms/Apple build tvOSpython Platforms/Apple ci tvOSpython Platforms/Apple test tvOS
-
tvOS resources are stored in the
Platforms/Apple/tvOS/Resourcesdirectory. -
The tvOS SDK version is controlled with the
TVOS_SDK_VERSIONenvironment variable. -
The minimum supported tvOS SDK version is controlled with the
TVOS_DEPLOYMENT_TARGETenvironment variable. -
When referencing platforms, the tvOS compiler triples are:
arm64-apple-tvosfor AppleTV devicesarm64-apple-tvos-simulatorfor AppleTV simulators on ARM64 hardwarex86_64-apple-tvos-simulatorfor AppleTV simulators on x86-64 hardware
-
The tvOS testbed Xcode template project is stored in
Platforms/Apple/testbed/tvOSTestbed. -
platform.ios_ver()will return tvOS-relevant version information.