{ "id": "136414", "key": "TIMOB-17677", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-15T18:52:56.000+0000", "created": "2014-09-10T23:56:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-09-15T18:52:57.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Description:\r\n1. Connect 2 iOS devices & build an app for any one of the 2 connected device.\r\n\r\nh5. Actual Result:\r\n1. The app is built & installed on both the connected devices.\r\n2. Command studio sends:\r\n{code}\r\n\"/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\"\r\n{code}\r\nThis command above build's to both connected devices.\r\n\r\n3. Using CLI we see the same issue. \r\n{code}\r\nti 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 ------\r\n{code}\r\nThe app builds for both the devices.\r\n\r\nCLI log :\r\n{code}\r\n[TRACE] ** BUILD SUCCEEDED **\r\n[INFO] Installing app on device: Flash\r\n[INFO] App successfully installed on device: Flash\r\n[INFO] Installing app on device: Europa\r\n[INFO] App successfully installed on device: Europa\r\n[INFO] Project built successfully in 43s 714ms\r\n{code}\r\n\r\nh5. Expected Result:\r\n1. The app should only be built to the selected device.", "attachment": [], "flagged": false, "summary": "CLI : iOS : When more than one iOS devices are connected building to one device builds to all", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.0.201409101253\r\nTi SDK : 3.4.0.v20140909222515 \r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-rc\r\nCLI - 3.4.0-rc\r\nCode Processor: 1.1.1\r\nxcode 6 gmseed\r\niphone 5 - IOS 8.0 GmSeed\r\nIpad mini - IOS 8.0 GmSeed", "closedSprints": [ { "id": 208, "state": "closed", "name": "2014 Sprint 18 Tooling", "startDate": "2014-09-02T20:24:55.144Z", "endDate": "2014-09-13T00:00:00.000Z", "completeDate": "2014-09-15T20:08:39.957Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "322978", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/6051\r\n3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6052", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-11T03:28:23.000+0000", "updated": "2014-09-11T03:28:23.000+0000" }, { "id": "323007", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-09-11T06:37:17.000+0000", "updated": "2014-09-11T06:37:17.000+0000" }, { "id": "323011", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-09-11T07:00:57.000+0000", "updated": "2014-09-11T07:00:57.000+0000" }, { "id": "323020", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~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.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-11T08:10:20.000+0000", "updated": "2014-09-11T08:10:20.000+0000" }, { "id": "323452", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on: \r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409112242\r\nTitanium SDK build: 3.4.0.v20140912120914\r\nTitanium CLI, build: 3.4.0-rc2\r\nAlloy: 1.5.0-beta2\r\nXcode6 GM Seed\r\niOS Devices iPhone 5s (7.1.1), iPhone 4S (8.0 GM Seed)\r\n\r\nConnected 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.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-12T22:29:10.000+0000", "updated": "2014-09-12T22:29:21.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }