You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -56,6 +57,7 @@ The XcodeBuildMCP server provides the following tool capabilities:
56
57
-**Build Operations**: Platform-specific build tools for macOS, iOS simulator, and iOS device targets
57
58
-**Project Information**: Tools to list schemes and show build settings for Xcode projects and workspaces
58
59
-**Clean Operations**: Clean build products using xcodebuild's native clean action
60
+
-**Incremental build support**: Lightning fast builds using incremental build support (experimental, opt-in required)
59
61
60
62
### Simulator management
61
63
-**Simulator Control**: List, boot, and open iOS simulators
@@ -136,6 +138,35 @@ pip install fb-idb==1.1.7
136
138
> [!NOTE]
137
139
> Displaying images in tool responses and embedding them in chat context may not be supported by all MCP Clients; it's currently known to be supported in Cursor.
138
140
141
+
## Incremental build support
142
+
143
+
XcodeBuildMCP includes experimental support for incremental builds. This feature is disabled by default and can be enabled by setting the `INCREMENTAL_BUILDS_ENABLED` environment variable to `true`:
144
+
145
+
To enable incremental builds, set the `INCREMENTAL_BUILDS_ENABLED` environment variable to `true`:
146
+
147
+
Example MCP client configuration:
148
+
```bash
149
+
{
150
+
"mcpServers": {
151
+
"XcodeBuildMCP": {
152
+
"command": "mise",
153
+
"args": [
154
+
"x",
155
+
"npm:xcodebuildmcp@1.3.5",
156
+
"--",
157
+
"xcodebuildmcp"
158
+
],
159
+
"env": {
160
+
"INCREMENTAL_BUILDS_ENABLED": "true"
161
+
}
162
+
}
163
+
}
164
+
}
165
+
```
166
+
167
+
> [!IMPORTANT]
168
+
> Please note that incremental builds support is currently highly experimental and your mileage may vary. Please report any issues you encounter to the [issue tracker](https://github.com/cameroncooke/XcodeBuildMCP/issues).
169
+
139
170
## Troubleshooting
140
171
141
172
If you encounter issues with XcodeBuildMCP, the diagnostic tool can help identify the problem by providing detailed information about your environment and dependencies.
`- If UI automation tools are not available, install idb: \`pip3 install fb-idb\``,
288
+
`- If incremental build support is not available, you can download the tool from https://github.com/cameroncooke/xcodemake. Make sure it's executable and available in your PATH`,
289
+
`- To enable xcodemake, set environment variable: \`export INCREMENTAL_BUILDS_ENABLED=1\``,
271
290
`- For mise integration, follow instructions in the README.md file`,
0 commit comments