48ab5eb436
Summary: At the moment the run-ios command from the react-native cli does only work for simulators. The pull request adds a new option to the existing command: **"--device 'device-name'" which installs and launches an iOS application on a connected device.** This makes it easier to build a test environment using react-native for connected devices. I've tested my code with the following commands: react-native run-ios --device "Not existing device" react-native run-ios --device react-native run-ios --device "name-of-a-simulator" react-native run-ios --device "name-of-connected-device" Output of the first three commands: ![example_error_output](https://cloud.githubusercontent.com/assets/9102810/17669443/f53d5948-630d-11e6-9a80-7df2f352c6a3.png) Additional to the manual command tests i've added a test file 'parseIOSDevicesList-test.js'. I used **ios-deploy** In order to launch and install the .app-bundle on a connected device. ios-deploy on github: Closes https://github.com/facebook/react-native/pull/9414 Differential Revision: D3821638 Pulled By: javache fbshipit-source-id: c07b7bf25283a966e45613a22ed3184bb1aac714 |
||
---|---|---|
.. | ||
__tests__ | ||
findMatchingSimulator.js | ||
findXcodeProject.js | ||
parseIOSDevicesList.js | ||
runIOS.js |