DocsQuick StartAI News
AI NewsXcode 27 incorporates Gemini, Apple gives developers three keys
Product Update

Xcode 27 incorporates Gemini, Apple gives developers three keys

2026-06-11T05:05:05.059Z
Xcode 27 incorporates Gemini, Apple gives developers three keys

Apple has natively integrated Google Gemini into Xcode 27 Beta, completing the trio of major mainstream programming intelligence agents alongside the existing OpenAI Codex and Anthropic Claude Agent. For the first time, developers can freely switch between the three models within the same IDE to complete multi-step development tasks.

Apple didn’t beat around the bush this time. On June 10, while dissecting the latest Xcode 27 Beta, 9to5Mac discovered that Google Gemini had been directly placed into the Intelligence settings panel, alongside the previously integrated OpenAI Codex and Anthropic Claude Agent. This is the first time Xcode has hosted three top-tier AI coding agents simultaneously—something almost unheard of in Apple’s history.

For iOS/macOS developers long tormented by Xcode, this is a late but weighty update. In the past, using Claude or Gemini in Xcode meant relying on third-party plugins like Continue or Cline to crudely stitch them in, or simply switching to Cursor or Zed to write code and then pasting it back. Now, Apple has listed all three as native options, giving its development stack a proper default AI coding experience for the first time.

Codex, Claude, and Gemini side-by-side in the Xcode 27 Intelligence settings panel

One IDE, three agents—who decides which to use?

According to Apple’s design, once developers log into the corresponding account in Xcode 27’s Intelligence panel, they can switch the default Coding Agent. The capabilities and positioning of the three differ quite a bit:

  • OpenAI Codex: Integrated since Xcode 26, its strengths are high-density code generation and wide language coverage, making it handy for scripting and glue code beyond Swift.
  • Anthropic Claude Agent: The Claude 4 series has a strong reputation for long-context engineering tasks, with cross-file refactoring and comprehension of mid-sized projects as its signature strengths.
  • Google Gemini: Newly integrated this time, focused on multimodal capabilities and ultra-long context. With Gemini 2.5 Pro’s million-token window, it could theoretically ingest an entire framework’s source code for analysis in one go.

Apple’s message is clear: “I won’t choose the model for you—pick based on your scenario.” This is a rare show of openness in Xcode’s history—Apple has traditionally decided what to promote or hide in its developer tools.

“Agents” aren’t hype—they can really restructure projects

Apple emphasized one phrase repeatedly: agentic coding experience. Unlike the pure completion/Q&A Copilot model of the past, the three in Xcode 27 are integrated as “agents,” meaning the AI can:

  • Understand the current project’s directory structure, Package.swift, and build settings;
  • Make changes across multiple files, implementing new features, fixing bugs, and adding unit tests in one go;
  • Read project documentation (including README and Swift DocC comments) as context;
  • Execute multi-step tasks within Xcode without requiring window switching.

Think of it as Apple finally bringing Cursor Composer and Claude Code into its IDE—just wrapped in Xcode’s skin. For developers frustrated by Xcode’s slow indexing and weak autocomplete, this is a visible experience boost.

Why Gemini—and not another provider?

This can’t be looked at in isolation. It’s part of Apple’s broader 2024 strategy—rebuilding Siri for iOS 27.

According to multiple reports, Apple’s next-gen Siri is likely powered by Gemini, employing knowledge distillation to compress Gemini’s cloud capabilities into Apple’s own smaller on-device model. In other words, Google isn’t just the third choice in Xcode—it’s one of Apple’s most heavily bet-on partners in the entire Apple Intelligence strategy.

Add to that Apple’s move at WWDC to open the Foundation Models framework for developers, enabling apps to directly call Gemini from the cloud—Apple is building a clear chain:

  • Developers use Gemini when coding (Xcode 27)
  • Built apps call Gemini (Foundation Models framework)
  • Users interact with Siri, running Gemini in the background (new Siri in iOS 27)

Apple has placed Google in a deep strategic position. This is very different from when ChatGPT was quietly tucked away in iOS settings—this is a whole other scale of cooperation.

For OpenAI and Anthropic, this may not be bad

Gemini appears to be taking center stage, but Codex and Claude have not been sidelined in Xcode. The reason is simple—this is a parallel “choose one of three” entry, not a default setting. The developer community’s preference for Claude in engineering tasks won’t change overnight, and Codex already has a year of presence in the Swift ecosystem.

More subtly, Apple’s “three together” approach effectively hands control of model choice back to developers—opposite to Microsoft GitHub Copilot’s early, OpenAI-exclusive path. Considering that a year ago Apple struggled with delays in Apple Intelligence, bringing all three into Xcode suggests Tim Cook’s team has shifted from “build everything ourselves” to “assemble the best.”

A detail: How Gemini works in Xcode 27

Based on Beta screenshots obtained by 9to5Mac, the integration process is surprisingly clean:

  1. Open Xcode 27 Beta and go to Settings → Intelligence;
  2. Under the Coding Models section, you’ll see Codex, Claude, and Gemini;
  3. Select Gemini, then log in with your Google account or paste an API key;
  4. All Inline Suggestion, Chat, and Agent modes will thereafter use Gemini.

Apple’s documentation notably points out: Gemini can read project documentation and file structures before applying holistic updates, rather than isolated single-file changes—addressing one of the most criticized flaws in past Xcode AI experiences.

A prediction: Apple may be building an “agent store”

Referencing The Information’s earlier reporting, Apple is internally exploring letting AI agents into the App Store. Former Siri engineer Igor Naverniouk even bluntly stated the industry’s ambition—“AI agents are the Holy Grail; whoever achieves it first wins.”

Integrating three agents into Xcode 27 might appear to be a developer tool update, but underneath it’s probing something bigger: Apple wants to be the platform bearing an agent ecosystem. From development tools, to frameworks, to distribution channels—Apple wants all three firmly in its grasp.

Tim Cook stated in last quarter’s earnings call that Apple aims to “leverage on-device capability and performance efficiency to attract developers to use our products as a powerful platform for building and running agentic AI.” Xcode 27 is the most literal demonstration of that statement.

In closing

From a developer’s perspective, the biggest perk of this update is “no need to pick sides.” Codex, Claude, and Gemini—regardless of which releases an update—you can use it in Xcode immediately, without waiting for plugin compatibility or switching tools.

Incidentally, if you need to simultaneously call all three models outside Xcode—for instance in a server-side toolchain, benchmark runs, or agent building—OpenAI Hub offers the ability to connect GPT, Claude, Gemini, DeepSeek, and other mainstream models with a single key. It works directly in China, is compatible with OpenAI’s format, and pairs nicely with Xcode 27.

As for whether Xcode 27’s official release will arrive this fall alongside iOS 27 and macOS 27—judging by Apple’s pace, it’s highly likely. Until then, the Beta already offers enough to keep developers busy over a few weekends.

References

Related Articles

View All

Contact Us

We usually reply quickly during business hours

Scan WeChat

Support: Hub Assistant

WeChat ID: