claude-code - 💡(How to fix) Fix macOS: "'2.x.xxx' would like to access data from other apps" prompt on every launch

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

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.

RAW_BUFFERClick to expand / collapse

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 NSPasteboardUsageDescription entitlement so macOS can persist the grant

Environment

  • macOS (Sonoma+)
  • Claude Code CLI, confirmed on v2.1.144 and v2.1.145

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…

FAQ

Expected behavior

The macOS pasteboard/clipboard permission should be granted once and persist across sessions, like other apps.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING