Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (
process.argv.includes('run-ios') && !process.argv.includes('--simulator')
) {
process.argv.push('--simulator');
process.argv.push('iPhone 11'); // Set Default simulator
}
require('@react-native-community/cli').run();