bootSimulator method

Future<bool> bootSimulator(
  1. String udid
)

Implementation

Future<bool> bootSimulator(String udid) async {
  try {
    final result = await _exec.run(
      'xcrun',
      arguments: ['simctl', 'boot', udid],
    );
    return result.success;
  } catch (_) {
    return false;
  }
}