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

Function executor

src/utils/__tests__/test-common.test.ts:140–151  ·  view source on GitHub ↗
(command, _logPrefix, _useShell, opts)

Source from the content-addressed store, hash-verified

138 const emitted: AnyFragment[] = [];
139 const actions: string[] = [];
140 const executor: CommandExecutor = async (command, _logPrefix, _useShell, opts) => {
141 const action = command.at(-1);
142 if (action) {
143 actions.push(action);
144 }
145
146 if (action === 'build-for-testing') {
147 opts?.onStdout?.('Ld /tmp/Weather.build/Weather normal arm64\n');
148 }
149
150 return createSuccessfulCommandResponse();
151 };
152
153 const executeTest = createTestExecutor(executor, {
154 preflight: createPreflight(),

Callers 15

command.test.tsFile · 0.70
launchMacAppFunction · 0.50
resolveProcessIdFunction · 0.50
fetchSimulatorDevicesFunction · 0.50
executeXcodeBuildCommandFunction · 0.50
inferPlatformFromSimctlFunction · 0.50
findXcodeStateFileFunction · 0.50
lookupSimulatorNameFunction · 0.50
lookupBundleIdFunction · 0.50
installAppOnDeviceFunction · 0.50
launchAppOnDeviceFunction · 0.50

Calls 4

pushMethod · 0.80
onStdoutMethod · 0.65
onStderrMethod · 0.65

Tested by

no test coverage detected