mirror of
https://github.com/status-im/react-native.git
synced 2025-02-19 12:57:00 +00:00
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:  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