(device: DeviceInfo, command: string)
| 67 | } |
| 68 | |
| 69 | export function requireSimulatorDevice(device: DeviceInfo, command: string): void { |
| 70 | if (device.kind !== 'simulator') { |
| 71 | throw new AppError('UNSUPPORTED_OPERATION', `${command} is only supported on iOS simulators`); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | export async function openIosSimulatorApp(options: OpenIosSimulatorAppOptions = {}): Promise<void> { |
| 76 | const appNames = options.deviceHub ? IOS_DEVICE_HUB_HOST_APPS : IOS_SIMULATOR_HOST_APPS; |
no outgoing calls
no test coverage detected