(runJson, timeoutMs)
| 35 | } |
| 36 | |
| 37 | function availableIosRuntimes(runJson, timeoutMs) { |
| 38 | const payload = runJson("xcrun", ["simctl", "list", "runtimes", "-j"], { |
| 39 | timeoutMs, |
| 40 | }); |
| 41 | return payload.runtimes |
| 42 | .filter( |
| 43 | (runtime) => runtime.isAvailable && runtime.identifier?.includes("iOS"), |
| 44 | ) |
| 45 | .sort(compareRuntimeVersions); |
| 46 | } |
| 47 | |
| 48 | function availableDeviceTypes(runJson, timeoutMs) { |
| 49 | return ( |
no test coverage detected