How to use Google Gemini in Xcode 26 beta
Over on Mastodon, someone1 asked whether it’s possible to use Google’s Gemini in the new Xcode 26β on macOS 26 beta. It is! Well, with some creative proxy scripting, that is. Google offers an OpenAI-compatible API for Gemini, and while working, it is not what Xcode expects in terms of URL layout. In Xcode’s LLM provider config, the custom “URL” parameter is the API’s base URL up to but not including the v1/ path segment, e.