Xcode 27 crashes when coding agent asks for permission

I am using Coding Intelligence, powered by Claude, in the first production release of Xcode 27.0 (in MacOS 26.7). Initially it was working ok. But after less than a day, it now crashes every time it needs to ask for permission for any shell command.

And each time I restart things, it burns through a ton of tokens. ☹️

Any suggestions? (I'll file a bug report right now…)

Thanks for the post.

My guess, every time it crashes and restarts, it has to rebuild its entire context and re-analyzing your workspace and I guess uses tokens again?

Can you check a few things for me? Then again, if Xcode crashes, you should file a bug and post the crash file here as well.

Go to System Settings > Privacy & Security > Developer Tools and check Xcode is added and toggled on. If you see any specific Coding Intelligence or Claude-related daemons in the list, enable them as well. Then on Privacy & Security > Full Disk Access check Xcode toggle is on.

But if it crashes this is definitely a bug the Xcode team needs to address. I highly recommend filing a bug with a sysdiagnose attached immediately after the crash occurs so the engineering team can review.

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert  WWDR

In have same issue can you please link the bug report so I can watch it, cheers!

@jblythe I recommend submitting your bug report and posting the FB number here; I can then link it and route it so you receive updates when the issue is resolved.

Please make sure you provide a sysdiagnose as well https://developer.apple.com/forums/thread/712889

Thanks

Albert  WWDR

Seeing this too, and I have a diagnostic capture if it helps.

Xcode 27.1 on macOS 26.7. Same symptom: Xcode hangs with a spinning beachball and needs a force quit whenever the Claude agent raises a tool-approval dialog. Three occurrences in one working session today.

A few details that might narrow it down:

• The hang happens as the dialog is raised, before any button is pressed — so it isn't related to the Allow / Don't Allow decision or to the permission itself being granted. • The card renders half-drawn and translucent, and a taller dialog seems more likely to hang than a short one. That pattern looks more like a presentation/layout deadlock on the main thread than a TCC failure. • It reproduces on both Bash-command approvals and on file Read/Edit approvals for paths outside the primary project directory. • Not a privacy-protected-directory issue — my project is in ~/Developer, not ~/Desktop or ~/Documents. • Running the same agent from Terminal against the headless Xcode MCP server never hangs, which seems to isolate the fault to the approval dialog in the in-IDE assistant panel rather than to the agent or the tool call. • Xcode 27.1 didn't change the behaviour. Its release notes contain no Coding Intelligence section at all.

Filed as FB24907217 with a sysdiagnose captured during the hang (the one Feedback Assistant auto-attaches is gathered at filing time, after the force quit, so it won't contain it), plus a 5-second Sample of the hung Xcode process.

Partial workaround for anyone stuck: pre-approving the commands and paths you actually use — so the dialog never appears — avoids it entirely. It's the dialog that's fatal, not the work.

@JLipsit Thanks for doing this and above all thanks for including all the details. Great description and got routed to the correct team. Appreciate it!

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identified fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert  WWDR

Has anyone found a workaround for this, while we wait for Apple to fix it? It worked a week or so ago, but now nothing I try (changing models, changing permissions options, rebooting, etc) seems to avoid the dreaded beachball.

Xcode 27 crashes when coding agent asks for permission
 
 
Q