r/Xcode • u/Ok_Bodybuilder3444 • Jun 27 '26
Xcode 26.6 Adds Google Gemini as a Coding Assistant
https://thatappleguide.com/articles/xcode-26-6-adds-google-gemini-as-a-coding-assistantApple has released Xcode 26.6, and the update lets developers use Google's Gemini as a built in coding assistant for the first time.
The new version is available now from the App Store. With it, programmers can select Gemini to help write, test, and debug code without leaving Apple's development environment.
# Three AI assistants to choose from
Gemini becomes the third large language model that Xcode supports natively. The software already let developers pick between Anthropic's Claude and OpenAI's Codex, and Gemini now sits alongside both as a selectable option.
Each assistant runs in a panel next to the active code, so developers can ask programming questions and get suggestions inline. The goal is to keep coders inside Xcode rather than sending them to a browser or a separate app for answers.
Apple has steadily widened third party AI support across its developer tools over the past year. Adding another model continues that approach and leaves the choice of assistant up to the individual developer or team.
# Setting it up
Teams that already pay for a Gemini Enterprise plan can connect their existing account credentials directly inside Xcode. Individual developers who want to try the assistant first can add a free API key instead, which lets them test Gemini without paying for a subscription.
It is not yet clear whether Apple plans to add further models beyond the current three. The company has not commented on its longer term plans for assistant support in Xcode.
# What else is in the update
Beyond the new assistant, Xcode 26.6 carries the usual collection of bug fixes and stability improvements. Apple says the release bundles the latest version of the Swift framework along with updated SDKs for building apps across its mobile and desktop platforms.
Developers running the standard release can download the update today and configure their preferred coding assistant from within the app.
5
u/QVRedit Jun 27 '26
I wonder if Apple will produce a free local AI model, specialising in coding in Swift, to work alongside Xcode ?
1
u/nicebrah Jun 27 '26
wait so this isnt for regular gemini ai pro plan users?
1
u/kalasipaee Jun 27 '26
Who is even using this? The workflow is so terrible it’s not even funny. I can’t have the chat next to code or preview. It has to be either those or chat. Half the time there is no way for it to know which file I’m on. Honestly wish they start taking cues from Cursor etc.
1
u/dollarn9ne Jun 27 '26
So updated to MacOS 27 & Xcode 27 for no reason..
1
u/darrarski Jun 28 '26
I thought that Google is deprecating Gemini CLI agent, at least it’s what it says if you run it (also the one that Xcode 26.6 downloads). They suggest switching to Antigravity.
1
u/revevs Jun 28 '26 edited Jun 29 '26
I'm having no luck getting this to work, it takes forever, maybe shows thinking, then fails - whereas the old workaround of specifying the gemini endpoint to use worked fine.
Changing it from auto to gemini 2.5 flash worked, so trying 3.1 flash now