I am using the Xcode 26.3 Claude Agent feature. Claude Agent can’t access on my Desktop folder when they are specified as chat attachments because I accidentally denied access to that folder when it was first requested.
I had earlier read the Xcode 26.3 release notes, so I was somewhat aware of this known issue, but I didn't make the connection when the Desktop access prompt appeared. I wasn't expecting the permissions prompt, because the regular (non-agent) Xcode Claude is able to freely access Desktop files when they are specified as Xcode coding assistant chat session attachments.
Claude Agent isn’t listed in macOS Settings > Privacy & Security > Files and Folders, so I can’t fix the permissions there.
The TCC database contains these rows:
% sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db \
"SELECT service, client, datetime(last_modified, 'unixepoch', 'localtime') as last_modified
FROM access
ORDER BY last_modified DESC" | head -2
kTCCServiceSystemPolicyDownloadsFolder|/Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude|2026-02-07 15:19:25
kTCCServiceSystemPolicyDesktopFolder|/Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude|2026-02-07 13:38:07
but I can’t seem to reset them using tccutil, apparently because /Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude is not a valid bundle identifier:
% tccutil reset all '/Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude'
tccutil: No such bundle identifier "/Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude": The operation couldn’t be completed. (OSStatus error -10814.)
I would like for Claude Agent to be able to access my Desktop folder.
What is an appropriate next step?
Thank you for any help you can provide.
I was able to fix the issue this way:
sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db \
"DELETE FROM access WHERE client = '/Users/drew/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude'"
(anyone else trying this will have to change the user name in the string)
and then
sudo killall tccd
and then restarting Xcode.