There are two files:
xcodebuild- the script that the agent is expected to runbuilding-with-xcode.md- the instructions given to the agent, i.e. in CLAUDE.md
| #!/usr/bin/env osascript -l JavaScript | |
| // Find and approve any MCP agent access dialogs in Xcode. | |
| function run() { | |
| var se = Application("System Events"); | |
| try { se.processes.byName("Xcode").name(); } catch (e) { return "Xcode not running."; } | |
| var count = 0; | |
| var windows = se.processes.byName("Xcode").windows(); |