Project: titanium
Issue TIMOB-17595: iOS: The app fails to install on iOS device after a second iOS device is also plugged in
The app does not install to the first iOS device after the second iOS device is also attached in the system. This is a regression as the issue does not exist with SDK 3.3.0.GA The issue occurs on 3.3.0 CLI as well with 3.4.0.x SDK Steps to Reproduce: 1. Attach a development iOS device to the system. 2. For any mobile project, either install the project through studio or run the following cli command "ti build -p ios -T device -C " 3. The app gets installed successfully 4. Now plug in another iOS device to the system. 5. Again try to install the same project to the first device In CLI the build is successful but the process terminates without installing the app. In studio the installer process terminates after the console shows "[INFO] : Image optimization complete" Note: If at this point we try to install the same app on device 2, it is successful. However, if we unplug and plug the device 1 again then it does not install on device 2 now but does so on device 1. In trying to reproduce this, there are times when the node-ios-device library fails to connect to the device or start the syslog_relay service: {code} Trying to build and run apps on the iOS8 device yields: [TRACE] : ** BUILD SUCCEEDED ** [INFO] : Installing app on device: Mark's iPhone [ERROR] : Failed to start "com.apple.syslog_relay" service (0xe800007f) [ERROR] : Project failed to build after 37s 599ms {code} There are also times when node-ios-device crashes with a segmentation fault.
Story points: 21