Closed
Description
Environment
I'm running npm inside the react-native app
Just downloaded latest npm and xcode
Description
Reproduce: Running npm run ios, I get that it can't find simulator for "iPhoneX"
Fix / Bugs: in local-cli/runIOS/findMatchingSimulator.js:
L42 which checks that the version of the simulator is an iOS or tvOS always fails (namely, the version of the simulator is com.apple.[some other things].iOs/tvOS. Namely the following if statement checks that the version starts with iOS or tvOS when it should be checking that of the text following the latest period, the text starts with iOs or tvOS.
L55 which was supposed to fix this bug, the isAvailable field is actually boolean true instead of string 'YES'