From 4b0b8f961db948e9c06781f6238c3480d51b37df Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Fri, 22 May 2026 12:54:29 +0200 Subject: [PATCH] fix(ios): Preserve Info.plist preprocessing for auto-release detection CLI 3.4.3 disables Xcode Info.plist preprocessing by default. Add --allow-xcode-infoplist-preprocessing to sentry-xcode.sh to preserve backward compatibility, since the script runs in a trusted first-party build context. Co-Authored-By: Claude Opus 4.6 --- packages/core/scripts/sentry-xcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/scripts/sentry-xcode.sh b/packages/core/scripts/sentry-xcode.sh index 924b5141b2..229ac90bb2 100755 --- a/packages/core/scripts/sentry-xcode.sh +++ b/packages/core/scripts/sentry-xcode.sh @@ -58,7 +58,7 @@ REACT_NATIVE_XCODE_DEFAULT="../node_modules/react-native/scripts/react-native-xc REACT_NATIVE_XCODE="${1:-$REACT_NATIVE_XCODE_DEFAULT}" [[ "$AUTO_RELEASE" == false ]] && [[ -z "$BUNDLE_COMMAND" || "$BUNDLE_COMMAND" != "ram-bundle" ]] && NO_AUTO_RELEASE="--no-auto-release" -ARGS="$NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS" +ARGS="--allow-xcode-infoplist-preprocessing $NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS" REACT_NATIVE_XCODE_WITH_SENTRY="\"$SENTRY_CLI_EXECUTABLE\" react-native xcode $ARGS \"$REACT_NATIVE_XCODE\""