[Bug] macOS TCC permission dialog displays version string instead of "Claude Code" due to missing Info.plist in binary
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
[]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗