Apple Just Made Local AI Coding Official — Xcode + LM Studio Setup on M5

18 July 2026 · 5:05 · 1,007 views · by Vikramjit Sarkar

Watch on YouTubeSubscribe for the next test

HUGE news — Apple has officially announced local LLM vibe coding support on Mac, and this is the full setup: connecting LM Studio to Xcode's new built-in chat window as a local AI provider.

Key numbers from this test

Your local models appearing automatically — Gemma 4 12B QAT, Gemma 4 26B A4B QAT, Qwen 3.6 27B, Qwen 3.6 35B
First testbuilding a to-do app with Qwen 3.6 35B (4-bit MLX, MoE) — on a 32GB M5, not the 128GB Max Apple used
RAM usage live on Activity Monitor (~30GB with OBS running)

Measured on my own machines.

What I say in the video

This is a huge news. Apple have officially announced on their website and their official Apple developer YouTube channel that they are supporting by coding on local LLM on their Mac. They also showed us how MLX work and also did some by coding on Xcode directly from local LLM model. So we are going to test them out today. >> I started working on the Apple. It was using Java code. Uh Okay, save.

Let me click on draw. Okay. >> Before jumping on the video, I want to thank you guys for supporting me. And also please subscribe because if you do not subscribe and like if you like this video, then this channel is going to literally die. So you can see I have already opened Xcode and I created a project called iPad test. Okay, so when I I created iPad test, but you know, I will be testing on uh here on the canvas. So you can see that, you know, Apple already gave a chat window here on the left side. So you can see the project and on click on here on this start thing, you can open the chat window. So now we'll see how you can integrate the local model, right? You can click here on the new chat and you can see the agents are here. You know, the chat chat setting are here. So click on any agent from there. And you can see this whole agent uh preference dialog will open, settings will open.

Now you can add a chat provider from here. So what I will do, I will add a chat provider, you know, locally hosted. So I have already opened LM Studio. You can see what is LM Studio? Okay, you can see LM Studio is there. So it's reachable. I have turned on the server. Uh so I will take the link of the LM Studio and API key optional API key already is there, 1 2 3 4. So let me add it. Okay. So this is a local agent which I have already added. Now you can see like as I as we added the LM Studio, you can see we automatically got all these AI models out here. Okay, we have Gemma 4 12B Q80. Okay. We have Gemma 4 26B A4B Q80.

Now we will I will tell you later like what is a Q80 model. We have other models also, like 13.6, 27B. We have 13.6 35B. Uh So, let's try to load the model from here, okay? So, let's test 3.6 35B A3B. Why we are testing this model? Because on the Apple video, they were testing those models on on the maxed out M5 Max, okay? Now, Apple on that YouTube video, they have shown us whole working protocol, like how it works, what is MLX, how this AI loop works on the MLX.

And the main important fact that they were testing on maxed out M5 MacBook Pro Max, which is 128GB, what I found out on their video. But here we have M5 32GB. And let's see if M5 32GB M5 Pro MacBook Pro 32GB can actually run the local model via Xcode. So, let's see how it So, we already have loaded 13.6 35B A3B here. And let's give it a prompt, okay?

Let's make an app, okay? Uh create an It's a simple app, right? So, let's see if it works, how it works. And also, if the model Okay, see the model is loading right now. We can also start the activity monitor. And remember, uh we are also using OBX Studio right now here. So, it be a little bit, you know, late to give the answers. It can lag a bit, but fine, let's see how it works, all right? We have 32GB RAM unified memory on this MacBook M5 Pro. And it's still loading.

Okay, the model has already been loaded. The prompt is processing right now. And it is an MLX model, all right? This is an MLX model, you can see. So, I'm 4-bit quantized and MOE. So, it's a mixture of expert model. I have vision capability, tool calling, and reasoning also, all right? So, it's it's already uh started calling. And here it is. You can see the RAM usage right now. It's almost 30GB because I'm using OBX Studio. And you can see, you know, this is a very cool design. You can see, you know, how it's generating on the left side this, you know, Let's uh bottom left you can see it's it's glowing. It's nice. Apple always does a good job with their UI. But, let's see how this coding works. Very importantly, if you are liking what I'm doing right now, see I do honest test and honest review. I do not show something which, you know, people do not people cannot try by themselves, okay?

At least I'm somewhere in the middle, I believe. So, if you are liking this kind of content, please do subscribe and like the video. Let's see what's happening. Okay, it's already started generating And you can see how many tokens it's generating. Let me see. It's it's going quite fast, all right? So, this is how the tool called happen. Okay, here on Activity Monitor you can see we already got swap memory used of 2.74 GB. And total memory used is around 30 GB right I don't want it to crash because it's running right now. I literally do not want it to crash. I think it's quite fun. Let me stop the video, you know, OBS for a little while so that it get done smoothly fast because OBS itself takes around 2 3 GB of this memory, unified memory. So, let me stop it so that we can push something here. So, guys, you can see as I have stopped the OBS, now the token generation is going too fast, right?

This is

Related tests