Skip to content

Commit 427abc9

Browse files
committed
[wip] xcframework build script
1 parent 6a7f1f1 commit 427abc9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Apps/BRNPlayground/postinstall.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ function postInstall() {
3030
});
3131

3232
if (os.platform() === "darwin") {
33-
iosCMake();
33+
34+
exec("npx gulp buildIOSRNTA", {
35+
cwd: "../../Package",
36+
});
37+
38+
if (process.env.BUILD_BABYLON_FROM_SOURCE == "1") {
39+
iosCMake();
40+
}
3441

3542
exec("npm install && npm run gulp buildIOSRNTA", {
3643
cwd: "../../Package",

Modules/@babylonjs/react-native/package-lock.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)