"vscode:/vscode.git/clone" did not exist on "555bdcc5a3c67779ec80c9fc89323ce8cb05913f"
xcode.mdx 1.17 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: Xcode 
---

## Install

Install [XCode](https://developer.apple.com/xcode/)


## Usage with Ollama 
<Note> Ensure Apple Intelligence is setup and the latest XCode version is v26.0 </Note>

1. Click **XCode** in top left corner > **Settings** 
<div style={{ display: 'flex', justifyContent: 'center' }}>
  <img 
    src="/images/xcode-intelligence-window.png" 
    alt="Xcode Intelligence window"
    width="50%"
  />
</div>

2. Select **Locally Hosted**, enter port **11434** and click **Add**
<div style={{ display: 'flex', justifyContent: 'center' }}>
  <img 
    src="/images/xcode-locally-hosted.png" 
    alt="Xcode settings"
    width="50%"
  />
</div>

3. Select the **star icon** on the top left corner and click the **dropdown**
<div style={{ display: 'flex', justifyContent: 'center' }}>
  <img 
    src="/images/xcode-chat-icon.png" 
    alt="Xcode settings"
    width="50%"
  />
</div>
4. Click **My Account** and select your desired model


## Connecting to ollama.com directly
1. Create an [API key](https://ollama.com/settings/keys) from ollama.com 
2. Select **Internet Hosted** and enter URL as `https://ollama.com`  
3. Enter your **Ollama API Key** and click **Add**