xcode_set_active_scheme
Activates a specified scheme in an Xcode project, enabling automated builds and tests with the correct configuration for .xcodeproj or .xcworkspace.
Instructions
Set the active scheme for a specific project
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": {
"xcodeproj": "<xcodeproj>",
"scheme_name": "<scheme_name>"
},
"name": "xcode_set_active_scheme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xcodeproj | Yes | Absolute path to the .xcodeproj file (or .xcworkspace if available) - e.g., /path/to/project.xcodeproj | |
| scheme_name | Yes | Name of the scheme to activate |