Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/platform-ios/src/commands/runIOS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ async function runOnSimulator(

/**
* If provided simulator does not exist, try simulators in following order
* - iPhone 13
* - iPhone 12
* - iPhone 11
* - iPhone 8
*/
const fallbackSimulators = ['iPhone 12', 'iPhone 11', 'iPhone 8'];
const fallbackSimulators = ['iPhone 13', 'iPhone 12', 'iPhone 11'];
const selectedSimulator = fallbackSimulators.reduce((simulator, fallback) => {
return (
simulator || findMatchingSimulator(simulators, {simulator: fallback})
Expand Down Expand Up @@ -579,8 +579,8 @@ export default {
func: runIOS,
examples: [
{
desc: 'Run on a different simulator, e.g. iPhone SE (1st generation)',
cmd: 'react-native run-ios --simulator "iPhone SE (1st generation)"',
desc: 'Run on a different simulator, e.g. iPhone SE (2nd generation)',
cmd: 'react-native run-ios --simulator "iPhone SE (2nd generation)"',
},
{
desc: 'Pass a non-standard location of iOS directory',
Expand All @@ -602,7 +602,7 @@ export default {
description:
'Explicitly set simulator to use. Optionally include iOS version between ' +
'parenthesis at the end to match an exact version: "iPhone 6 (10.0)"',
default: 'iPhone 12',
default: 'iPhone 13',
},
{
name: '--configuration <string>',
Expand Down