diff --git a/packages/react-native/sdks/hermes-engine/utils/build-apple-framework.sh b/packages/react-native/sdks/hermes-engine/utils/build-apple-framework.sh index e530a99c0c9b85..4c1f5d8f5899a0 100755 --- a/packages/react-native/sdks/hermes-engine/utils/build-apple-framework.sh +++ b/packages/react-native/sdks/hermes-engine/utils/build-apple-framework.sh @@ -185,19 +185,7 @@ function create_universal_framework { for i in "${!platforms[@]}"; do local platform="${platforms[$i]}" local hermes_framework_path="${platform}/hermes.framework" - local dSYM_path="$hermes_framework_path" - local dSYM_base_path="$HERMES_PATH/destroot/Library/Frameworks" - - # If the dSYM rename has failed, the dSYM are generated as 0.dSYM - # (Apple default name) rather then hermes.framework.dSYM. - if [[ -e "$dSYM_base_path/${platform}/0.dSYM" ]]; then - dSYM_path="${platform}/0" - fi - args+="-framework $hermes_framework_path " - - # Path to dSYM must be absolute - args+="-debug-symbols $dSYM_base_path/$dSYM_path.dSYM " done mkdir -p universal