MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / resolveCleanPlatform

Function resolveCleanPlatform

src/mcp/tools/utilities/clean.ts:145–152  ·  view source on GitHub ↗
(params: CleanParams)

Source from the content-addressed store, hash-verified

143}
144
145function resolveCleanPlatform(params: CleanParams): XcodePlatform | null {
146 const targetPlatform = params.platform ?? 'iOS';
147 const platformEnum = PLATFORM_MAP[targetPlatform];
148 if (!platformEnum) {
149 return null;
150 }
151 return SIMULATOR_TO_DEVICE_PLATFORM[platformEnum] ?? platformEnum;
152}
153
154export function createCleanExecutor(
155 executor: CommandExecutor,

Callers 2

createCleanResultFunction · 0.85
createCleanExecutorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected