Skip to content

Commit 9498b71

Browse files
committedMar 18, 2025·
[RN][iOS] Fix codegen to avoid the creation of <appName>, folders
1 parent 6699563 commit 9498b71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎packages/react-native/scripts/codegen/generate-artifacts-executor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,9 +1006,9 @@ RCT_SCRIPT_POD_INSTALLATION_ROOT=$(pwd)
10061006
popd >/dev/null
10071007
10081008
export RCT_SCRIPT_RN_DIR="$RCT_SCRIPT_POD_INSTALLATION_ROOT/${path.relative(outputPath, REACT_NATIVE_PACKAGE_ROOT_FOLDER)}"
1009-
export RCT_SCRIPT_APP_PATH="$RCT_SCRIPT_POD_INSTALLATION_ROOT/${relativeAppPath.length === 0 ? '.' : relativeAppPath}",
1010-
export RCT_SCRIPT_OUTPUT_DIR="$RCT_SCRIPT_POD_INSTALLATION_ROOT",
1011-
export RCT_SCRIPT_TYPE="withCodegenDiscovery",
1009+
export RCT_SCRIPT_APP_PATH="$RCT_SCRIPT_POD_INSTALLATION_ROOT/${relativeAppPath.length === 0 ? '.' : relativeAppPath}"
1010+
export RCT_SCRIPT_OUTPUT_DIR="$RCT_SCRIPT_POD_INSTALLATION_ROOT"
1011+
export RCT_SCRIPT_TYPE="withCodegenDiscovery"
10121012
10131013
SCRIPT_PHASES_SCRIPT="$RCT_SCRIPT_RN_DIR/scripts/react_native_pods_utils/script_phases.sh"
10141014
WITH_ENVIRONMENT="$RCT_SCRIPT_RN_DIR/scripts/xcode/with-environment.sh"

0 commit comments

Comments
 (0)
Please sign in to comment.