Create your first App
- Make sure you have a proper development environment setup
- Download the latest Xcode (at least 15.2).
- Install visionOS simulator runtime.
- Install the latest version of CMake (at least v3.29.0).
- Initialize the project using this command:
- React Native >= 0.75
- React Native <= 0.74
npx @react-native-community/cli@latest init <YourAppName> --template @callstack/visionos-template@latest
npx @callstack/react-native-visionos@latest init YourApp
- Next, go to
YourApp/visionos
folder and run following commands to install Pods:
bundle install
bundle exec pod install
- Now you can run
yarn visionos
- (Optional) you also can open project using Xcode (
xed YourApp/visionos/YourApp.xcworkspace
).
- Build the app by clicking the "Run" button in Xcode.