From 202d789bc2312f8104b87cf785c1f32f1a612bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Mon, 11 Dec 2023 16:10:08 +0100 Subject: [PATCH] docs: update CMake instructions (#55) --- README.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 1546edaa0c1de3..3a9e4b41a50f63 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,13 @@ React Native Vision OS allows you to write visionOS with full support for platfo 1. Make sure you have a [proper development environment setup](https://reactnative.dev/docs/environment-setup) 2. Download the latest Xcode beta [here](https://developer.apple.com/xcode/). 3. Install visionOS Simulator runtime. -4. Initialize the project using this command: +4. Install the latest version of CMake (at least v3.28.0) +5. Initialize the project using this command: ``` npx @callstack/react-native-visionos@latest init YourApp ``` -5. Next, go to `YourApp/visionos` folder and run following commands to install Pods: +6. Next, go to `YourApp/visionos` folder and run following commands to install Pods: ``` cd visionos @@ -32,16 +33,8 @@ bundle install bundle exec pod install ``` -6. If you want to use Hermes, you need to install CMake from source (v3.28.0) - -```sh -brew install cmake --HEAD -``` - -If not, remember to disable it in `Podfile`. - -8. Open `YourApp/visionos/YourApp.xcworkspace` using Xcode 15 Beta. -9. Build the app by clicking the "Run" button in Xcode. +7. Open `YourApp/visionos/YourApp.xcworkspace` using Xcode 15 Beta. +8. Build the app by clicking the "Run" button in Xcode. ## Platform guidelines @@ -64,4 +57,4 @@ Usage: node ./scripts/oot-release.js --new-version "" --react-native-version "" --one-time-password "" ``` -To test releases and template we use [Verdaccio](https://verdaccio.org/). \ No newline at end of file +To test releases and template we use [Verdaccio](https://verdaccio.org/).