Open
Conversation
b23e798 to
4aa34d0
Compare
4aa34d0 to
ff45e36
Compare
ff45e36 to
c53d449
Compare
c53d449 to
4386c25
Compare
4386c25 to
73b4ceb
Compare
73b4ceb to
e12b50a
Compare
Introduce platform selection to the setup wizard, recommend workflows per platform, and avoid prompting for a simulator when macOS is the only platform selected. Add helpers and constants (SetupPlatform, PLATFORM_WORKFLOWS, PLATFORM_OPTIONS, infer/derive/filter helpers), a multi-select platform prompt, and make the setup flow platform-aware (seed workflow defaults, filter simulators, preserve platform in sessionDefaults). Add selectionToMcpConfigJson() and a --format mcp-json option to print a ready-to-paste MCP client config JSON block (runSetupWizard supports 'mcp-json' early-exit). Update tests (createPlatformPrompter and four platform-aware cases) and CHANGELOG.md to document the new behavior.
e12b50a to
48129b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a platform selection step to the
xcodebuildmcp setupwizard. Users now choose which platforms they are targeting (macOS, iOS, tvOS, watchOS, visionOS) before selecting workflows.What this does
PLATFORM_WORKFLOWSmap.platformis written tosessionDefaultsinconfig.yamlandXCODEBUILDMCP_PLATFORMis included in--format mcp-jsonoutput. Multi-platform omits it so the agent can choose per-command.config.yamlvalues including the newplatformfield.Integration with upstream device selection
This integrates cleanly with upstream's workflow-driven simulator/device gating (
requiresSimulatorDefault,requiresDeviceDefault): platforms drive workflow pre-seeding, workflows drive whether simulator/device prompts appear. TheplatformFilteris passed toselectSimulatorto filter available simulators by the selected platform when a single non-macOS platform is chosen.Tests
Four new test cases in
setup.test.ts:platform: macOSto configXCODEBUILDMCP_PLATFORM=macOS, no simulator fieldsXCODEBUILDMCP_PLATFORM=iOS Simulator+ simulator fieldsXCODEBUILDMCP_PLATFORM, simulator fields presentAll 1495 tests pass.