What problem does it solve?
The Xcode MCP tools (BuildProject, RunSomeTests, RunAllTests) always operate on whatever scheme and destination are currently selected in the running Xcode app, and they accept no scheme or destination arguments. This Skill lets you inspect and change Xcode's active scheme programmatically so builds and tests target the intended scheme.
Core Features & Use Cases
- Scheme switching: Set the active scheme of the focused Xcode workspace document, verified by read-after-write.
- Scheme and destination listing: List all schemes and run destinations defined by the workspace, with optional case-insensitive substring filtering.
- Workspace inspection: Print the path of the currently focused workspace document to confirm you are operating on the right window.
- Use Case: Before invoking the Xcode MCP BuildProject tool, run the helper to confirm the active scheme is "WordPress"; if not, switch it, then trigger the build so the correct target compiles.
Quick Start
Ask the assistant to switch Xcode's active scheme to "WordPress" and then list the available run destinations before building the project.