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

Function getBuildSettingsDestination

src/utils/app-path-resolver.ts:7–12  ·  view source on GitHub ↗
(platform: XcodePlatform, deviceId?: string)

Source from the content-addressed store, hash-verified

5import { resolvePathFromCwd } from './path.ts';
6
7export function getBuildSettingsDestination(platform: XcodePlatform, deviceId?: string): string {
8 if (deviceId) {
9 return `platform=${platform},id=${deviceId}`;
10 }
11 return `generic/platform=${platform}`;
12}
13
14export function extractAppPathFromBuildSettingsOutput(buildSettingsOutput: string): string {
15 const builtProductsDirMatch = buildSettingsOutput.match(/^\s*BUILT_PRODUCTS_DIR\s*=\s*(.+)$/m);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected