isXcodeprojInstalled function
Checks if the xcodeproj gem is installed.
Implementation
Future<bool> isXcodeprojInstalled() async {
try {
final result = await Process.run('gem', ['list', '-i', 'xcodeproj']);
return result.stdout.toString().trim() == 'true';
} catch (e) {
return false;
}
}