code: async function logIOS() {
    const rawDevices = execFileSync(
      'xcrun',
      ['simctl', 'list', 'devices', '--json'],
      {encoding: 'utf8'},
    );
  
    const {devices} = JSON.parse(rawDevices);
  
    const device = findAvailableDevice(devices);
    if (device === undefined) {
      logger.error('No active iOS device found');
      return;
    }
  
    tailDeviceLogs(device.udid);
  }
docs: Starts iOS device syslog tail