build_dev_ws
Compile apps for physical Apple devices by specifying workspace path and scheme. Supports build configurations, derived data paths, and custom xcodebuild arguments.
Instructions
Builds an app from a workspace for a physical Apple device. IMPORTANT: Requires workspacePath and scheme. Example: build_dev_ws({ workspacePath: '/path/to/MyProject.xcworkspace', scheme: 'MyScheme' })
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspacePath": "<workspacePath>",
"scheme": "<scheme>"
},
"name": "build_dev_ws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configuration | No | Build configuration (Debug, Release) | |
| derivedDataPath | No | Path to derived data directory | |
| extraArgs | No | Additional arguments to pass to xcodebuild | |
| preferXcodebuild | No | Prefer xcodebuild over faster alternatives | |
| scheme | Yes | The scheme to build | |
| workspacePath | Yes | Path to the .xcworkspace file |