MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / derivePlatformSessionDefault

Function derivePlatformSessionDefault

src/cli/commands/setup.ts:190–193  ·  view source on GitHub ↗
(platforms: SetupPlatform[])

Source from the content-addressed store, hash-verified

188}
189
190function derivePlatformSessionDefault(platforms: SetupPlatform[]): string | undefined {
191 if (platforms.length !== 1) return undefined;
192 return SETUP_PLATFORM_TO_SESSION_DEFAULT[platforms[0]];
193}
194
195function filterSimulatorsByPlatforms(
196 simulators: ListedSimulator[],

Callers 1

selectionToMcpConfigJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected