react-native-macos/local-cli
Richard Evans 0b5ff0d2b1 Make run-ios find if a device is booted better
Summary:
**Motivation**
This morning I was trying to test on iPhone 7 with iOS 10 so I booted that device and ran "react-native run-ios" expecting it to notice I had a simulator running and install my app to it. Instead it switched my device to the iPhone 6s iOS 9.2. After digging it was found that run-ios did not handle multiple versions of iOS being installed very well when it came to checking for the booted device. This PR resolves that.

**Test plan (required)**
Tests were added for the situation of multiple iOS versions being installed and a slight change to the code was completed to make the new tests pass and continue to keep the old tests passing.
Closes https://github.com/facebook/react-native/pull/10558

Differential Revision: D4163616

Pulled By: hramos

fbshipit-source-id: 26b44fb73ef402ce252e7a754036279e15359170
2016-12-01 09:58:32 -08:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle BREAKING: expose `getTransformOptions` directly in configuration 2016-11-28 07:28:33 -08:00
core Fix lint in local-cli 2016-11-14 11:13:42 -08:00
dependencies BREAKING: expose `getTransformOptions` directly in configuration 2016-11-28 07:28:33 -08:00
generator Allow git to merge pbxproj files 2016-11-22 17:58:29 -08:00
init Fix after using hg 2016-11-21 04:58:29 -08:00
install Further RNPM integration 2016-08-22 08:58:37 -07:00
library Fix lint in local-cli 2016-11-21 10:28:34 -08:00
link Change matching pattern on settings.gradle 2016-11-08 16:28:43 -08:00
logAndroid Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
logIOS Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
runAndroid Add ability to specify main Activity in run-android 2016-11-23 06:43:50 -08:00
runIOS Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
server Propagate bytecode offset in SamplingProfiler and use it to name unnamed functions 2016-12-01 09:43:37 -08:00
templates/HelloWorld Update Flowconfig in CLI template to Flow v0.36.0 2016-11-28 14:13:33 -08:00
upgrade New upgrading process, relying on Git 2016-11-28 08:28:35 -08:00
util BREAKING: expose `getTransformOptions` directly in configuration 2016-11-28 07:28:33 -08:00
.eslintrc Break out defaults, add flow for Config 2016-10-22 06:13:42 -07:00
cli.js Monkey-patch `fs` with graceful-fs before anything else runs 2016-10-14 11:13:54 -07:00
cliEntry.js Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
commands.js Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support 2016-11-18 18:28:51 -08:00
default.config.js BREAKING kill deprecated asset support 2016-11-24 05:43:38 -08:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Fix usage of react-native cli inside package.json scripts 2016-04-26 15:42:35 -07:00