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

Function createBuildDeviceRequest

src/mcp/tools/device/build_device.ts:33–43  ·  view source on GitHub ↗
(params: BuildDeviceParams)

Source from the content-addressed store, hash-verified

31import { createBuildInvocationFragment } from '../../../utils/xcodebuild-pipeline.ts';
32
33function createBuildDeviceRequest(params: BuildDeviceParams): BuildInvocationRequest {
34 return {
35 scheme: params.scheme,
36 workspacePath: params.workspacePath,
37 projectPath: params.projectPath,
38 derivedDataPath: resolveEffectiveDerivedDataPath(params),
39 configuration: params.configuration ?? 'Debug',
40 platform: String(mapDevicePlatform(params.platform)),
41 target: 'device',
42 };
43}
44
45const baseSchemaObject = z.object({
46 projectPath: z.string().optional().describe('Path to the .xcodeproj file'),

Callers 2

buildDeviceLogicFunction · 0.85

Calls 2

mapDevicePlatformFunction · 0.90

Tested by

no test coverage detected