From ade0ede75d169f827ffb36ba330d96c2402e3749 Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:24:38 +0200 Subject: [PATCH] commented post install ios --- Apps/BRNPlayground/postinstall.js | 3 ++- Package/gulpfile.js | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Apps/BRNPlayground/postinstall.js b/Apps/BRNPlayground/postinstall.js index a109c279..40a4387d 100644 --- a/Apps/BRNPlayground/postinstall.js +++ b/Apps/BRNPlayground/postinstall.js @@ -28,7 +28,7 @@ function postInstall() { exec("npm install --legacy-peer-deps", { cwd: "../../Modules/@babylonjs/react-native", }); - +/* if (os.platform() === "darwin") { iosCMake(); @@ -39,6 +39,7 @@ function postInstall() { console.log(chalk.black.bgCyan("Installing iOS pods...")); exec("pod install", { cwd: "ios" }); } + */ } postInstall(); diff --git a/Package/gulpfile.js b/Package/gulpfile.js index 98751c01..7a9c0cd1 100644 --- a/Package/gulpfile.js +++ b/Package/gulpfile.js @@ -764,12 +764,12 @@ const buildIOSAndroid = gulp.series(patchPackageVersion, buildIOS, buildAndroid, const build = gulp.series(buildIOSAndroid, switchToBaseKit, buildIOSAndroid); +// a variant is full kit or base kit +const buildAndroidRNTAKitVariant = gulp.series(patchPackageVersion, buildAndroidRNTA, copyAndroidFiles, validateAssembledAndroid); +const buildIOSRNTAKitVariant = gulp.series(patchPackageVersion, buildIOSRNTA, createIOSUniversalLibs, copyFilesiOS, validateAssemblediOS); -const _buildAndroidRNTA = gulp.series(patchPackageVersion, buildAndroidRNTA, copyAndroidFiles, validateAssembledAndroid); -const _buildIOSRNTA = gulp.series(patchPackageVersion, buildIOSRNTA, createIOSUniversalLibs, copyFilesiOS, validateAssemblediOS); - -const buildRNTAandroid = gulp.series(enableRNTA, _buildAndroidRNTA, switchToBaseKit, _buildAndroidRNTA); -const buildRNTAios = gulp.series(enableRNTA, _buildIOSRNTA, switchToBaseKit, _buildIOSRNTA); +const buildRNTAandroid = gulp.series(enableRNTA, buildAndroidRNTAKitVariant, switchToBaseKit, buildAndroidRNTAKitVariant); +const buildRNTAios = gulp.series(enableRNTA, buildIOSRNTAKitVariant, switchToBaseKit, buildIOSRNTAKitVariant); const rebuild = gulp.series(clean, build); const pack = gulp.series(rebuild, createPackage);