xcode_run_on_device
Build and run iOS/macOS applications directly on physical devices from Xcode projects using specified schemes and device identifiers.
Instructions
Build and run app on physical device
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": {
"project_path": "<project_path>",
"scheme": "<scheme>",
"device_id": "<device_id>",
"bundle_id": "<bundle_id>"
},
"name": "xcode_run_on_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to .xcodeproj file | |
| scheme | Yes | Build scheme name | |
| device_id | Yes | Physical device UUID | |
| bundle_id | Yes | App bundle identifier | |
| derived_path | No | Path for build products | ./DerivedData |