Skip to content

Commit

Permalink
[General] [Fixed] - Fixes Xcode 10.2 simulator not found issue (react…
Browse files Browse the repository at this point in the history
  • Loading branch information
afxal authored and dratwas committed Jul 12, 2019
1 parent 91f63d6 commit 4f75862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/runIOS/findMatchingSimulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function findMatchingSimulator(simulators, simulatorString) {
}

// Making sure the version of the simulator is an iOS or tvOS (Removes Apple Watch, etc)
if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
if (!version.includes('iOS') && !version.includes('tvOS')) {
continue;
}
if (simulatorVersion && !version.endsWith(simulatorVersion)) {
Expand Down

0 comments on commit 4f75862

Please sign in to comment.