Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23821] ioslib: Use simctl to get list of all simulators

GitHub Issuen/a
TypeStory
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2020-02-06T06:22:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS, Tooling
Labelscb-tooling, ioslib
ReporterChris Barber
AssigneeChris Barber
Created2016-08-24T21:19:34.000+0000
Updated2020-02-06T06:22:34.000+0000

Description

It's possible for an iOS or WatchOS Simulator to be deleted, but the device directory to remain. The current ioslib only detects simulators by walking the filesystem. This leads to an inconsistent state. Instead, we should just eat the cost of subprocessing simctl. I think we're still going to have to read each device's plist file to get additional info.

Comments

  1. Chris Barber 2020-02-06

    This appears to have been resolved back in ioslib@1.1.0 over 3 years ago.

JSON Source