We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c83945 + 9a8c959 commit 98bcfe0Copy full SHA for 98bcfe0
local-cli/runIOS/findMatchingSimulator.js
@@ -41,7 +41,7 @@ function findMatchingSimulator(simulators, simulatorString) {
41
var match;
42
for (let version in devices) {
43
// Making sure the version of the simulator is an iOS or tvOS (Removes Apple Watch, etc)
44
- if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
+ if (!version.includes('iOS') && !version.includes('tvOS')) {
45
continue;
46
}
47
if (simulatorVersion && !version.endsWith(simulatorVersion)) {
0 commit comments