Skip to content

Commit

Permalink
[General] [Fixed] - Fixes Xcode 10.2 simulator not found issue (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
afxal authored and grabbou committed Mar 28, 2019
1 parent 75ccf8e commit 08fd511
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 08fd511

Please sign in to comment.