1 | import { SimulatorDevice } from '../SimControl';
|
2 | export declare function isEnabled(): boolean;
|
3 | export declare class CoreSimulatorError extends Error {
|
4 | message: string;
|
5 | code?: "MALFORMED_BINARY" | "INVALID_UDID" | undefined;
|
6 | constructor(message: string, code?: "MALFORMED_BINARY" | "INVALID_UDID" | undefined);
|
7 | }
|
8 | export declare function listDevicesAsync(): Promise<SimulatorDevice[]>;
|
9 | export declare function getDeviceInfoAsync({ udid, }?: {
|
10 | udid?: string;
|
11 | }): Promise<SimulatorDevice>;
|
12 | export declare function devicePlistToSimulatorDevice(deviceDirectory: string, data: any): SimulatorDevice;
|
13 | /**
|
14 | * Get UDID for the first booted simulator. It's unclear if this is the exact method used by `xcrun simctl` to determine which device is "booted".
|
15 | *
|
16 | * @returns EFEEA6EF-E3F5-4EDE-9B72-29EAFA7514AE
|
17 | */
|
18 | export declare function getBootedDeviceAsync(): Promise<{
|
19 | UDID: string;
|
20 | } | null>;
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare function getContainerPathAsync({ udid, bundleIdentifier, }: {
|
31 | udid: string;
|
32 | bundleIdentifier: string;
|
33 | }): Promise<string | null>;
|