MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / availableDeviceTypes

Function availableDeviceTypes

scripts/integration/simulator-selection.mjs:48–54  ·  view source on GitHub ↗
(runJson, timeoutMs)

Source from the content-addressed store, hash-verified

46}
47
48function availableDeviceTypes(runJson, timeoutMs) {
49 return (
50 runJson("xcrun", ["simctl", "list", "devicetypes", "-j"], {
51 timeoutMs,
52 }).devicetypes ?? []
53 );
54}
55
56function selectRuntime(runtimes, sdkVersion, env) {
57 if (runtimes.length === 0) {

Callers 1

Calls 1

runJsonFunction · 0.70

Tested by

no test coverage detected