Skip to content

Commit 4f75862

Browse files
afxaldratwas
authored andcommitted
[General] [Fixed] - Fixes Xcode 10.2 simulator not found issue (react-native-community#274)
1 parent 91f63d6 commit 4f75862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/runIOS/findMatchingSimulator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function findMatchingSimulator(simulators, simulatorString) {
5050
}
5151

5252
// Making sure the version of the simulator is an iOS or tvOS (Removes Apple Watch, etc)
53-
if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
53+
if (!version.includes('iOS') && !version.includes('tvOS')) {
5454
continue;
5555
}
5656
if (simulatorVersion && !version.endsWith(simulatorVersion)) {

0 commit comments

Comments
 (0)