Description:
1. Connect 2 iOS devices & build an app for any one of the 2 connected device.
Actual Result:
1. The app is built & installed on both the connected devices.
2. Command studio sends:
"/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "iphone" "--log-level" "trace" "--sdk" "3.4.0.v20140909222515" "--project-dir" "/Users/lokeshchoudhary/Desktop/workspaces/test_workspace/TIMOB-14986" "--target" "device" "--ios-version" "8.0" "--device-family" "universal" "--developer-name" "Lokesh Choudhary (2T9WDZYG53)" "--device-id" "2809991a6d680c8d369a3ce282d96dcfa7aa3463" "--pp-uuid" "98F73243-B6CA-4F18-A4A6-64ED9096038C"
This command above build's to both connected devices.
3. Using CLI we see the same issue.
ti build -F universal -I 8.0 -T device -C ---your device id ---- -V "Lokesh Choudhary (2T9WDZYG53)" -d /Users/lokeshchoudhary/Desktop/workspaces/test_workspace/TIMOB-14986 -p ios -P ---- your uuid ------
The app builds for both the devices.
CLI log :
[TRACE] ** BUILD SUCCEEDED **
[INFO] Installing app on device: Flash
[INFO] App successfully installed on device: Flash
[INFO] Installing app on device: Europa
[INFO] App successfully installed on device: Europa
[INFO] Project built successfully in 43s 714ms
Expected Result:
1. The app should only be built to the selected device.
Master: https://github.com/appcelerator/titanium_mobile/pull/6051 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6052
PR merged.
[~mokesmokes] No, this is more related to TIMOB-17595. Our node-ios-device library is sorta having a bad day. Not only am I'm seeing the "syslog_relay" error when I switch between devices, but occasionally I see a "could not connect to device" error or even worse, a segmentation fault. I'm working on fixing it, but it's sort of hard to track down. Let's continue this on TIMOB-17595.
Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201409112242 Titanium SDK build: 3.4.0.v20140912120914 Titanium CLI, build: 3.4.0-rc2 Alloy: 1.5.0-beta2 Xcode6 GM Seed iOS Devices iPhone 5s (7.1.1), iPhone 4S (8.0 GM Seed) Connected two devices to my machine and chose to build to only one device in both Studio and the CLI, iPhone 4s. In both scenarios the app was only installed on the selected device. Closing ticket.