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
6. Next, go to `YourApp/visionos` folder and run following commands to install Pods:
29
29
30
30
```
31
-
cd visionos
32
31
bundle install
33
32
bundle exec pod install
34
33
```
35
34
36
-
7. Open `YourApp/visionos/YourApp.xcworkspace` using Xcode 15 Beta.
37
-
8. Build the app by clicking the "Run" button in Xcode.
35
+
7. Now you can run `yarn visionos`
36
+
8. (Optional) you also can open project using Xcode (`xed YourApp/visionos/YourApp.xcworkspace`).
37
+
- Build the app by clicking the "Run" button in Xcode.
38
38
39
39
## Platform guidelines
40
40
41
41
We suggest you read [Human Interface Guidelines for visionOS](https://developer.apple.com/design/human-interface-guidelines/designing-for-visionos) when creating visionOS apps.
42
42
43
43
It's important not to cover the translucent background with a solid color, as it helps to ground apps and make them feel like part of the environment.
44
44
45
+
## API Reference
46
+
47
+
### App entry point
48
+
React native visionOS uses SwiftUI lifecycle. The app entry point is now `App.swift` file (by default it is `main.m`). This change allows us to use full capabilities of the visionOS SDK.
0 commit comments