sentry-cli release inference disables Xcode Info.plist preprocessing by default
Introduced 2026-05-21 · score 0.97
HOW TO USE IT
When Xcode release auto-discovery needs Info.plist preprocessing, run `sentry-cli releases propose-version --allow-xcode-infoplist-preprocessing` only for a trusted project; otherwise use the default, which disables preprocessing. The same flag is documented in `send-event`; the release note also names `bash-hook --send-event` and `react-native xcode` as affected.
sentry-cli releases propose-version --allow-xcode-infoplist-preprocessingsentry-cli send-event --allow-xcode-infoplist-preprocessingWHY THIS HELPS
Infer a release from an Xcode project using sentry-cli.
BEFORE THIS CHANGE
Allow Xcode `Info.plist` preprocessing by default during release auto-discovery.
REQUIREMENTS AND LIMITATIONS
- Version: 2.58.6
- --allow-xcode-infoplist-preprocessing: Boolean flag; allows Info.plist preprocessing with `cc`, passing Xcode project settings to the compiler. Do not use with untrusted code.
- Prerequisite: Use the flag only for trusted projects that require preprocessing.
- Preprocessing is enabled only when `--allow-xcode-infoplist-preprocessing` is used for a trusted project that requires it.
- The change affects release inference for `sentry-cli releases propose-version`, `sentry-cli send-event`, `sentry-cli bash-hook --send-event`, and auto-release detection for `sentry-cli react-native xcode`.
FIRST-PARTY EVIDENCE
- https://github.com/getsentry/sentry-cli/releases/tag/2.58.6
- https://github.com/getsentry/sentry-cli/blob/2.58.6/src/commands/releases/propose_version.rs
- https://github.com/getsentry/sentry-cli/blob/2.58.6/src/commands/send_event.rs
- https://github.com/getsentry/sentry-cli/blob/2.58.6/src/utils/args.rs
Check the installed version and the source before using it. Entry JSON