Skip to content

Commit 999490c

Browse files
authored
Pull in latest JSRuntimeHost with JSC reference management fixes (#1454)
And add a troubleshooting section to iOS build instructions.
1 parent f2d4aec commit 999490c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

BUILDING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ demo app, click on the project selector and find `Playground` in the list of pos
192192
selections. The `Play` button will subsequently allow you to build, run, and debug
193193
the selected Babylon Native demo app.
194194

195+
### Troubleshooting
196+
```
197+
CMake Error at /Applications/CMake 2.app/Contents/share/cmake-3.26/Modules/Platform/iOS-Initialize.cmake:4 (message):
198+
is not an iOS SDK
199+
```
200+
If you see an error like this, it might be because you have updated Xcode and/or installed a new version of the iOS SDK since last time CMake was run. Try cleaning (e.g. `git clean -dxff`, but back up any changes you want to keep) and re-running the CMake command.
201+
195202
## **Building on macOS, Targeting visionOS**
196203

197204
_Follow the steps from [All Development Platforms](#all-development-platforms) before proceeding._

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ FetchContent_Declare(ios-cmake
3737
GIT_TAG 4.5.0)
3838
FetchContent_Declare(JsRuntimeHost
3939
GIT_REPOSITORY https://github.com/BabylonJS/JsRuntimeHost.git
40-
GIT_TAG 4638802193e55bc4b9eb702b94d2f7b12acf3d52)
40+
GIT_TAG 5cb464449c60eb127797ab0834d1cd0b6349aa67)
4141
FetchContent_Declare(OpenXR-MixedReality
4242
GIT_REPOSITORY https://github.com/microsoft/OpenXR-MixedReality.git
4343
GIT_TAG 67424511525b96a36847f2a96d689d99e5879503)

0 commit comments

Comments
 (0)