MCPcopy Index your code
hub / github.com/callstack/agent-device / buildSimctlArgsForDevice

Function buildSimctlArgsForDevice

src/platforms/apple/core/simctl.ts:16–21  ·  view source on GitHub ↗
(device: DeviceInfo, args: string[])

Source from the content-addressed store, hash-verified

14}
15
16export function buildSimctlArgsForDevice(device: DeviceInfo, args: string[]): string[] {
17 if (!isIosFamily(device) || device.kind !== 'simulator') {
18 return ['simctl', ...args];
19 }
20 return buildSimctlArgs(args, { simulatorSetPath: device.simulatorSetPath });
21}
22
23export function runSimctlForDevice(
24 device: DeviceInfo,

Callers 15

simctlArgsFunction · 0.90
readAppleProcessSamplesFunction · 0.90
ensureBootedSimulatorFunction · 0.90
shutdownSimulatorFunction · 0.90
getSimulatorStateFunction · 0.90

Calls 2

isIosFamilyFunction · 0.90
buildSimctlArgsFunction · 0.85

Tested by

no test coverage detected