// the find
intitni/CopilotForXcode
The first GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension
A macOS app that grafts GitHub Copilot, Codeium, and ChatGPT onto Xcode via the Source Editor Extension API. It runs a persistent background service to work around the extension sandbox, using Accessibility API to track cursor position and inject suggestions. Aimed at Swift/Xcode developers who want AI completion and chat without switching to a different editor.
The architecture is clever given Apple's constraints — the extension itself is thin glue, and the real logic lives in a separate launch agent that can hold persistent connections and state. Supporting multiple backends (Copilot LSP, Codeium, arbitrary OpenAI-compatible endpoints) from a single settings UI is genuinely useful. The custom command system with template arguments is a practical feature that lets you build repeatable prompts without touching code. The Xcode theme mirroring for syntax highlighting in the chat panel is a nice touch most similar tools skip.
The Accessibility API requirement is a hard dependency that requires manual permission granting and re-granting after updates — the README even warns about this, which tells you it's a recurring support burden. Multi-window Xcode setups are explicitly called out as unreliable in the Limitations section, which is a real problem for anyone doing serious iOS development. The Node.js dependency for GitHub Copilot is messy on a machine using a version manager, and the fix (finding the real binary path) is pushed onto the user. Last commit was April 2026 and activity looks light — for a tool this tightly coupled to Xcode internals, falling behind Apple updates will break things fast.