We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdbc232 commit 9d3f382Copy full SHA for 9d3f382
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