claude-code - 💡(How to fix) Fix [Bug] macOS TCC permission dialog displays version string instead of "Claude Code" due to missing Info.plist in binary

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Root cause: the standalone Mach-O binary at ~/.local/share/claude/versions/<version> has no embedded __TEXT,__info_plist section ("Info.plist=not bound" per codesign -dvv). macOS falls back to the filename (= version string) for the TCC dialog label.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description [macOS] TCC permission dialog shows raw version string ("2.1.143") instead of "Claude Code".

Root cause: the standalone Mach-O binary at ~/.local/share/claude/versions/<version> has no embedded __TEXT,__info_plist section ("Info.plist=not bound" per codesign -dvv). macOS falls back to the filename (= version string) for the TCC dialog label.

Repro: any TCC-gated access (network volume, removable, Documents/Downloads/Desktop).

Fix: add -sectcreate __TEXT __info_plist Info.plist at link time with at minimum CFBundleName="Claude Code" and CFBundleIdentifier=com.anthropic.claude-code.

Binary is signed (TeamID=Q6L2SF6YDW, Identifier=com.anthropic.claude-code) so TCC already keys by bundle ID — only the displayed dialog label is wrong.

macOS 26.5, Claude Code 2.1.143.

Environment Info

  • Platform: darwin
  • Terminal: xterm-256color
  • Version: 2.1.143
  • Feedback ID: 5448f8ba-1dd0-4fb5-bef8-b0234d8ae5ca

Errors

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING