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

Function buildBundleIdResult

src/utils/app-query-results.ts:68–84  ·  view source on GitHub ↗
(
  appPath: string,
  bundleId?: string,
  error?: string,
  diagnostics?: BasicDiagnostics,
)

Source from the content-addressed store, hash-verified

66}
67
68export function buildBundleIdResult(
69 appPath: string,
70 bundleId?: string,
71 error?: string,
72 diagnostics?: BasicDiagnostics,
73): BundleIdDomainResult {
74 return {
75 kind: 'bundle-id',
76 didError: typeof error === 'string',
77 error: error ?? null,
78 artifacts: {
79 appPath,
80 ...(bundleId ? { bundleId } : {}),
81 },
82 ...(diagnostics ? { diagnostics } : {}),
83 };
84}
85
86export function setBundleIdStructuredOutput(
87 ctx: ToolHandlerContext,

Calls

no outgoing calls

Tested by

no test coverage detected