{
  "slug": "sentry-cli-release-inference-disables-xcode-info-plist-preprocessing-by-default-5afe8ad4f083",
  "title": "sentry-cli release inference disables Xcode Info.plist preprocessing by default",
  "tools": [
    "sentry-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-21T14:47:01.000Z",
  "announced_at": "2026-05-21T14:47:01.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "sentry-cli releases propose-version --allow-xcode-infoplist-preprocessing",
      "sentry-cli send-event --allow-xcode-infoplist-preprocessing"
    ],
    "gotchas": [
      "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`."
    ]
  },
  "why_it_matters": "Infer a release from an Xcode project using sentry-cli.",
  "before": "Allow Xcode `Info.plist` preprocessing by default during release auto-discovery.",
  "sources": [
    "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"
  ],
  "rank": 0.97037,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-7d446536052f3a59-0:gate",
    "evidence_hash": "3b96585fd8e135fa22e16b910d208f5383e3fb6bba5397f312b396122d49902d"
  },
  "review": {
    "draft_hash": "49b36d58afee2fea9d3c5588aaf40fd08aad879d2be0c126f6bba86b80d5caf0",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
