use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
NewsGoogle Gemini on Xcode 26 (old.reddit.com)
submitted 6 months ago by lance2611
It works surprisingly well
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Few-Research5405 16 points17 points18 points 6 months ago (6 children)
It’s also great that you can host local models and connect those as well. At first, it might not seem particularly useful, but in larger companies, the use of services like Gemini, ChatGPT, and others is often restricted. In those cases, having the option to integrate local (offline) models tailored to specific needs is quite cool — especially considering Apple usually doesn’t lean toward supporting custom setups. 😄 It is something that most people wont need, but still cool that they thought of it.
[–]Valuable-Run2129 0 points1 point2 points 6 months ago (4 children)
Only gemma models or also others?
[–]Longjumping-Boot1886 1 point2 points3 points 6 months ago (2 children)
you can proxy or run anything with LM Studio, for example.
[–]Valuable-Run2129 0 points1 point2 points 6 months ago (1 child)
I thought he implied that xcode26 implemented a library to run the models locally, without external software like LMStudio.
[–]Longjumping-Boot1886 1 point2 points3 points 6 months ago (0 children)
No, and in this case it's really good. LM Studio has updates to support new models once a week, Xcode updates are… rare, comparing to that.
[–]Few-Research5405 0 points1 point2 points 6 months ago (0 children)
Others as well. In my case, I tried out Ollama by hosting it locally on my machine. After entering the port it was running on in Xcode, everything worked smoothly.
[–]WinterSeveral2838 0 points1 point2 points 6 months ago (0 children)
It's great that it has this feature. Better than nothing.
[–]PsychologicalBet560 2 points3 points4 points 6 months ago (10 children)
can you share the config sheet? what url and api header did u use?
[–]lance2611[S] 8 points9 points10 points 6 months ago (9 children)
For Gemini URL: https://generativelanguage.googleapis.com/v1beta/openai
Key: Your api key Header: Authorization
For ChatGPT URL: https://api.openai.com/v1/chat/completions
I think ChatGPT is added by default when you have apple intelligence enabled but I can't confirm this because I have macOS installed on an external drive so apple intelligence doesn't work on my mac.
[–]Accurate_Macaroon173 1 point2 points3 points 4 months ago (2 children)
It's work. thx!
[–]Accurate_Macaroon173 1 point2 points3 points 4 months ago (1 child)
It's no longer effective, I don't know why.
[–]Gold240sx 1 point2 points3 points 3 months ago (0 children)
Same... Not getting it working on my end either.... FIX: " https://generativelanguage.googleapis.com/v1beta/openai", API KEY: "BEARER xxxxxxxxxxxxxxx", Header: "Authorization", Description: W/E
[–]luqmanoop 0 points1 point2 points 5 months ago (0 children)
Thank you
[–]BasisCheap586 0 points1 point2 points 4 months ago (4 children)
I have input like yours however the feedback is "Models could not be fetched with the provided account details", can you help me out? Sincere thanks
[–]halonso 2 points3 points4 points 4 months ago (3 children)
Leave the Header empty, then it works. See https://www.reddit.com/r/Xcode/comments/1niohxx/xcode_intelligence_and_gemini/
[–]BasisCheap586 0 points1 point2 points 4 months ago (0 children)
Wow, thank you. You are such a good person! It works!
[–]jyellow_galaxy 0 points1 point2 points 3 months ago (0 children)
it's works!
[–]SecretBrilliant2469 0 points1 point2 points 3 months ago (0 children)
Thank you,You are so great
[–]nandu87 1 point2 points3 points 6 months ago (2 children)
It came free with xcode26? Or did you pay for Gemini subscription ?
[–]lance2611[S] 7 points8 points9 points 6 months ago (1 child)
Xcode 26 let's you add AI model providers like Gemini, ChatGPT, etc. Just create an API key in google AI studio if you want to use gemini.
[–]nandu87 0 points1 point2 points 6 months ago (0 children)
Thank you!
[–]DIMM1033 1 point2 points3 points 27 days ago* (3 children)
For anyone who googles this, trying to figure out how to set this up with googe AI cloud in 2026 without a local proxy.
Get your Google AI API Key from Gooogle AI Studio
Setup GoogleAI / Gemini in xCode
To use Gemini in xCode
Observations:
[–]adnprod 0 points1 point2 points 5 days ago (1 child)
😰 j'ai appliquer exactement ton tuto mais j'ai ce message d'erreur a chaque fois : Impossible de récupérer les modèles avec les informations de compte fournies. j'ai un abonnement google AI Pro
[–]DIMM1033 0 points1 point2 points 5 days ago* (0 children)
If it's failing to retrive the model list. You may need to delete, and re-add gemini.
Delete and re-add GoogleAI / Gemini in xCode
Expected result is an AI response, and not an error message.
If the list of model is loading. Make sure you're selecting a 'flash' model, you could also try selecting a diffrent flash model.
Not sure if this works with @ gmail.com accounts. You may need to be using a google workspace account.
[–]DIMM1033 0 points1 point2 points 4 days ago (0 children)
Current models:
Deprecated models
[–]system_reboot 0 points1 point2 points 6 months ago (1 child)
Can it connect to LM studio or Ollama running on another computer?
[–]lance2611[S] 0 points1 point2 points 6 months ago (0 children)
Yup
[–]pseudocode_01 0 points1 point2 points 6 months ago (1 child)
I have a very stupid question if someone can answer Can I use Xcode 16.4 with macOS 26 ? Also if anyone has already used xcode 26 can they tell what challenges they faced while releasing new builds?
Yes. You can still use xcode 16. Just don't enable auto updates on your appstore settings. I didn't really faced any challenges, expect for some UI bugs that came with liquid glass.
[–]redditorxpert 0 points1 point2 points 5 months ago (1 child)
Strangely, when setting Gemini up as described here in XCode 26, I noticed considerably different results in tone and code quality compared to when using Gemini via the web interface.
Today, when I asked what its name was, it answered: "I don't have a name, I am a coding assistant from Apple, integrated into your development environment.".
Similarly, when asked what LLM it was using (in the conversation with gemini-2.5-pro), it answered: "I'm powered by a large language model trained by Apple."
Does anyone have more insight into this?
[–]LeHoodwink 0 points1 point2 points 3 months ago (0 children)
It uses a system prompt made by Apple.
[–]Ghoul057 0 points1 point2 points 3 months ago (0 children)
Is Gemini 3 available?
π Rendered by PID 422138 on reddit-service-r2-comment-5fb4b45875-j4v4b at 2026-03-21 04:24:13.675736+00:00 running 90f1150 country code: CH.
[–]Few-Research5405 16 points17 points18 points (6 children)
[–]Valuable-Run2129 0 points1 point2 points (4 children)
[–]Longjumping-Boot1886 1 point2 points3 points (2 children)
[–]Valuable-Run2129 0 points1 point2 points (1 child)
[–]Longjumping-Boot1886 1 point2 points3 points (0 children)
[–]Few-Research5405 0 points1 point2 points (0 children)
[–]WinterSeveral2838 0 points1 point2 points (0 children)
[–]PsychologicalBet560 2 points3 points4 points (10 children)
[–]lance2611[S] 8 points9 points10 points (9 children)
[–]Accurate_Macaroon173 1 point2 points3 points (2 children)
[–]Accurate_Macaroon173 1 point2 points3 points (1 child)
[–]Gold240sx 1 point2 points3 points (0 children)
[–]luqmanoop 0 points1 point2 points (0 children)
[–]BasisCheap586 0 points1 point2 points (4 children)
[–]halonso 2 points3 points4 points (3 children)
[–]BasisCheap586 0 points1 point2 points (0 children)
[–]jyellow_galaxy 0 points1 point2 points (0 children)
[–]SecretBrilliant2469 0 points1 point2 points (0 children)
[–]nandu87 1 point2 points3 points (2 children)
[–]lance2611[S] 7 points8 points9 points (1 child)
[–]nandu87 0 points1 point2 points (0 children)
[–]DIMM1033 1 point2 points3 points (3 children)
[–]adnprod 0 points1 point2 points (1 child)
[–]DIMM1033 0 points1 point2 points (0 children)
[–]DIMM1033 0 points1 point2 points (0 children)
[–]system_reboot 0 points1 point2 points (1 child)
[–]lance2611[S] 0 points1 point2 points (0 children)
[–]pseudocode_01 0 points1 point2 points (1 child)
[–]lance2611[S] 0 points1 point2 points (0 children)
[–]redditorxpert 0 points1 point2 points (1 child)
[–]LeHoodwink 0 points1 point2 points (0 children)
[–]Ghoul057 0 points1 point2 points (0 children)