build_dev_proj
Compiles an app for physical Apple devices from a specified project file. Input the project path and scheme to initiate the build process. Supports additional configurations and arguments for xcodebuild.
Instructions
Builds an app from a project file for a physical Apple device. IMPORTANT: Requires projectPath and scheme. Example: build_dev_proj({ projectPath: '/path/to/MyProject.xcodeproj', 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": {
"projectPath": "<projectPath>",
"scheme": "<scheme>"
},
"name": "build_dev_proj"
}
}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 | |
| projectPath | Yes | Path to the .xcodeproj file | |
| scheme | Yes | The scheme to build |