|
…
|
||
|---|---|---|
| .. | ||
| Resources | ||
| README.md | ||
Python on visionOS README
This document provides a quick overview of some visionOS specific features in the Python distribution.
Python on visionOS is largely the same as Python on iOS; most of the instructions in the iOS README can be used for visionOS builds, substituting:
-
visionOSas the identifier forPlatforms/Appleinvocations; e.g.,python Platforms/Apple build visionOSpython Platforms/Apple ci visionOSpython Platforms/Apple test visionOS
-
visionOS resources are stored in the
Platforms/Apple/visionOS/Resourcesdirectory. -
The visionOS SDK version is controlled with the
XROS_SDK_VERSIONenvironment variable. -
The minimum supported visionOS SDK version is controlled with the
XROS_DEPLOYMENT_TARGETenvironment variable. -
When referencing platforms, the visionOS compiler triples are:
arm64-apple-xrosfor Apple Vision devicesarm64-apple-xros-simulatorfor Apple Vision simulators
-
The visionOS testbed Xcode template project is stored in
Platforms/Apple/testbed/visionOSTestbed. -
platform.ios_ver()will return visionOS-relevant version information.