Commit 9542c30
Fix Xcode 26 build: suppress deprecated-declarations + BABYLON_USE_SYSTEM_CMAKE env var (#726)
* Fix Xcode 26 build: suppress deprecated-declarations for Clang targets
wstring_convert<codecvt_utf8_utf16> is deprecated in C++17 and the
BabylonNative cmakeextensions build helper adds -Werror to all Clang
targets, turning this deprecation into a hard build error on
Xcode 26+ / Clang 20+.
Add -Wno-deprecated-declarations via add_compile_options for Clang/
AppleClang builds so the project compiles cleanly while all other
-Werror checks remain enforced.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add BABYLON_USE_SYSTEM_CMAKE env var and update version table
- postinstall.js: add BABYLON_USE_SYSTEM_CMAKE=1 env variable that
bypasses the npm-bundled cmake-runtime package and uses whatever
cmake is found on PATH (Homebrew, system install, etc.)
- README: document the new BABYLON_USE_SYSTEM_CMAKE variable in the
iOS CMake configuration section
- README: add BabylonReactNative 2.0.2 entry to the Platform Native
Packages version table (requires Babylon.js 9.0.0, BabylonNative 887a044)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update BabylonNative to ce2edf08 and fix README commit hash format
- Package/gulpfile.js: update COMMIT_ID to latest BabylonNative master
commit ce2edf0851e0c8483559832a4f8eb9d39c6b2f53
- README.md: use full 40-character commit hash for the 2.0.2 row to
match the format of existing rows in the Platform Native Packages table
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 15ae894 commit 9542c30
File tree
4 files changed
+18
-1
lines changed- Modules/@babylonjs/react-native
- ios
- Package
4 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments