Project: titanium
Issue TIMOB-17677: CLI : iOS : When more than one iOS devices are connected building to one device builds to all
h5. Description: 1. Connect 2 iOS devices & build an app for any one of the 2 connected device. h5. Actual Result: 1. The app is built & installed on both the connected devices. 2. Command studio sends: {code} "/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" {code} This command above build's to both connected devices. 3. Using CLI we see the same issue. {code} 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 ------ {code} The app builds for both the devices. CLI log : {code} [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 {code} h5. Expected Result: 1. The app should only be built to the selected device.
Story points: 3