FIX: xcode node path

This commit is contained in:
Marcos Rodriguez Velez 2024-09-10 19:32:50 -04:00
parent c769c7af36
commit b0ad196de1
2 changed files with 3 additions and 2 deletions

View File

@ -1049,7 +1049,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=$(which node)\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
1D93562AB5DF61839917DB14 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;

View File

@ -24,7 +24,8 @@ echo "Configuration complete."
# Install dependencies using npm
echo "===== Running npm ci ====="
npm ci | tee npm-ci-log.txt
echo "npm ci complete. Full log output in npm-ci-log.txt"
npm prune --production | tee npm-prune-log.txt
echo "npm ci complete. Full log output in npm-ci-log.txt and npm-prune-log.txt"
echo "===== Running pod install ====="
cd ios