You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple provides [visionOS](https://developer.apple.com/visionos/) development through the latest [Xcode 15.2](https://developer.apple.com/xcode/resources/)release.
11
+
Apple provides [visionOS](https://developer.apple.com/visionos/) development starting with [Xcode 15.2](https://developer.apple.com/xcode/resources/)or higher.
12
12
13
13
::: info Note
14
14
You will need an [Apple developer account](https://developer.apple.com/programs/enroll/) to download developer tools and SDKs.
@@ -18,7 +18,7 @@ You will need an [Apple developer account](https://developer.apple.com/programs/
18
18
19
19
## Create a visionOS project
20
20
21
-
Vision Pro is [scheduled for release on February 2, 2024](https://twitter.com/tim_cook/status/1744362067786682797) however you can develop now using the Vision Pro Simulator. Since the hardware is not available for public use yet, we are providing `vision` tagged npm packages to keep things distinct while you develop for visionOS.
21
+
You can develop with a physical Vision Pro plugged in or using the Vision Pro Simulator.
22
22
23
23
**You will need the `vision` CLI**:
24
24
@@ -62,13 +62,36 @@ The `vision` platform target is a shorthand alias for `visionos` so this can als
62
62
ns run visionos --no-hmr
63
63
```
64
64
65
+
#### Develop with physical Vision Pro
66
+
67
+
You can use a [Developer Strap](https://developer.apple.com/visionos/developer-strap/purchase) to connect your Vision Pro to your Mac.
68
+
69
+
> The Developer Strap is an optional accessory that provides a USB-C connection between Apple Vision Pro and Mac and is helpful for accelerating the development of graphics-intensive apps and games. The Developer Strap provides the same audio experience as the in-box Right Audio Strap, so developers can keep the Developer Strap attached for both development and testing.
70
+
71
+
Once connected, you can run `ns device` and it will list all connected physical devices:
2.`App_Resources/visionOS/build.xcconfig` with a minimum target of `IPHONEOS_DEPLOYMENT_TARGET = 17.0`
71
-
3. The following dependencies are used:
94
+
2. The following dependencies are used:
72
95
73
96
```json
74
97
{
@@ -82,10 +105,6 @@ Primarily 3 key elements make up a NativeScript driven visionOS project:
82
105
}
83
106
```
84
107
85
-
::: info Note
86
-
Once Apple releases visionOS in a final Xcode release these tags will no longer be necessary.
87
-
:::
88
-
89
108
## Design Guidelines and Notes
90
109
91
110
We strongly encourage developers to understand and use Apple's system glass materials throughout their apps in addition to closely following their design guidelines.
@@ -222,7 +241,7 @@ You should not have to do a lot of this throughout apps in general but these opt
222
241
223
242
## NativeScript and the SwiftUI App Lifecycle
224
243
225
-
NativeScript 8.6 brings support for the [SwiftUI App](https://developer.apple.com/documentation/swiftui/app) Lifecycle for the first time. For a better understanding of the SwiftUI App Lifecycle, we recommend the following articles:
244
+
Starting with NativeScript 8.6 we support the [SwiftUI App](https://developer.apple.com/documentation/swiftui/app) Lifecycle for the first time. For a better understanding of the SwiftUI App Lifecycle, we recommend the following articles:
0 commit comments