macOS: "'2.x.xxx' would like to access data from other apps" prompt on every launch
Bug
Every time Claude Code is launched (or a conversation is opened in the agents menu / ghost TTY UI), macOS shows a permission dialog:
"2.1.145 would like to access data from other apps."
Clicking Allow has no effect — the dialog reappears on the next launch. It's not a one-time prompt after an update; it happens on every single session.
Expected behavior
The macOS pasteboard/clipboard permission should be granted once and persist across sessions, like other apps.
Likely cause
The Claude Code CLI binary is not sandboxed, so macOS's TCC system cannot create a persistent entry for pasteboard access. Each launch is treated as a new permission request with no memory of prior approvals.
Additionally, because the dialog shows the version number (e.g. 2.1.144, 2.1.145) instead of "Claude Code" as the app name, this also suggests the binary identity/code signing changes between updates — compounding the issue for users who do see it reset after updates.
Fix suggestion
- Don't read the clipboard on startup unless the user explicitly triggers a paste action
- Or ensure the app is properly code-signed and sandboxed with a persistent
NSPasteboardUsageDescriptionentitlement so macOS can persist the grant
Environment
- macOS (Sonoma+)
- Claude Code CLI, confirmed on v2.1.144 and v2.1.145
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗