(device: DeviceInfo, args: string[])
| 14 | } |
| 15 | |
| 16 | export 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 | |
| 23 | export function runSimctlForDevice( |
| 24 | device: DeviceInfo, |
no test coverage detected