code: function parseIOSDevicesList(text: string): Array<IOSDeviceInfo> {
    const devices = [];
    text.split('\n').forEach((line) => {
      const device = line.match(/(.*?) \((.*?)\) \[(.*?)\]/);
      const noSimulator = line.match(/(.*?) \((.*?)\) \[(.*?)\] \((.*?)\)/);
      if (device != null && noSimulator == null){
        var name = device[1];
        var version = device[2];
        var udid = device[3];
        devices.push({udid, name, version});
      }
    });
  
    return devices;
  }
docs: Parses the output of `xcrun simctl list devices` command