{ "id": "160228", "key": "TIMOB-23371", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "18198", "name": "windowslib 0.4.15", "archived": false, "released": true, "releaseDate": "2016-07-12" } ], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2021-02-11T12:19:52.000+0000", "created": "2016-05-12T22:26:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "53871", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "164387", "key": "TIMOB-24183", "fields": { "summary": "Windows Unable to build to Windows device with SDK 6.1.0", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2021-02-11T12:20:02.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building to a Windows Phone Device if multiple devices are connected then the two devices are displayed along with Device 0\r\n\r\n{code}\r\nWhich device do you want to install your app on?\r\n 1) Device (udid: 0)\r\n 2) Lumia 930 (RM-1045) (udid: 00000015-4e57-1877-0000-000000000000)\r\n 3) Nokia Lumia 520 (RM-914) (udid: 004a0090-40df-0094-0000-000000000000)\r\nSelect by number or name [Device]: \r\n{code}\r\n\r\nWhen building , for me, selecting any of the above devices the build errors out for me.\r\n\r\nAs we are unable to support multiple devices due to the tooling we use then this should be handled better.\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Connect multiple devices\r\n2. Build using {{appc run -p windows -T wp-device}}\r\n\r\nh5.Actual result\r\n\r\nMultiple devices are shown\r\n\r\nh5.Expected result\r\n\r\nMultiple devices should not be shown, user should be informed of the support for only one device", "attachment": [], "flagged": false, "summary": "Windows: Only report a device when one has been detected", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nVisual Studio 2015 Community Update 2\r\nAppc Core: 5.3.0-43\r\nAppc NPM: 4.2.5-5\r\nTi SDK: 5.3.0.v20160512105713", "comment": { "comments": [ { "id": "386809", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This PR should address this issue: https://github.com/appcelerator/windowslib/pull/42", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-25T21:31:39.000+0000", "updated": "2016-05-25T21:31:39.000+0000" }, { "id": "390720", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/8138", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-14T19:25:33.000+0000", "updated": "2016-07-14T19:25:33.000+0000" }, { "id": "390789", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue is not fixed by windowslib 0.4.15.\r\n\r\n{{appc ti info -p windows -o json}}\r\n\r\n*When one device is connected*\r\n{code}\r\n\"devices\": [\r\n {\r\n \"name\": \"Lumia 630 Dual SIM (RM-978)\",\r\n \"udid\": \"00000015-4901-3b2b-0000-000000000000\",\r\n \"index\": 0,\r\n \"wpsdk\": \"8.1\",\r\n \"ip\": \"127.0.0.1\"\r\n }\r\n]\r\n{code}\r\n\r\nThis looks good.\r\n\r\n*When two devices are connected*\r\n\r\n{code}\r\n\"devices\": [\r\n {\r\n \"name\": \"Device\",\r\n \"udid\": 0,\r\n \"index\": 0,\r\n \"wpsdk\": null\r\n },\r\n {\r\n \"name\": \"Windows 10 Mobile Device\",\r\n \"udid\": \"00000015-c470-8a24-0000-000000000000\",\r\n \"index\": 0,\r\n \"wpsdk\": null,\r\n \"ip\": \"127.0.0.1\"\r\n },\r\n {\r\n \"name\": \"Lumia 630 Dual SIM (RM-978)\",\r\n \"udid\": \"00000015-4901-3b2b-0000-000000000000\",\r\n \"index\": 1,\r\n \"wpsdk\": null,\r\n \"ip\": \"127.0.0.1\"\r\n }\r\n],\r\n{code}\r\n\r\nThis should omit placeholder device.\r\n\r\n{{appc ti build -p windows --target wp-device}} actually reports {{udid=0}} device like below.\r\n\r\n{code}\r\nWhich device do you want to install your app on?\r\n 1) Device (udid: 0)\r\n 2) Windows 10 Mobile Device (udid: 00000015-c470-8a24-0000-000000000000)\r\n 3) Lumia 630 Dual SIM (RM-978) (udid: 00000015-4901-3b2b-0000-000000000000)\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-15T09:57:06.000+0000", "updated": "2016-07-15T09:57:06.000+0000" }, { "id": "390915", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "windowslib: https://github.com/appcelerator/windowslib/pull/49", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-18T16:04:25.000+0000", "updated": "2016-07-18T16:04:25.000+0000" }, { "id": "392390", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], please check the comments here: https://github.com/appcelerator/windowslib/pull/49 ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T06:04:43.000+0000", "updated": "2016-08-04T06:04:43.000+0000" }, { "id": "392469", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I would consider this ticket resolved with: https://github.com/appcelerator/windowslib/pull/42\r\n\r\nhttps://github.com/appcelerator/windowslib/pull/49 is just an addition to clean up the device listing, but isn't necessary for this ticket.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T23:04:46.000+0000", "updated": "2016-08-04T23:04:46.000+0000" }, { "id": "392473", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving, as \r\n\r\n{quote}\r\nI would consider this ticket resolved with: https://github.com/appcelerator/windowslib/pull/42\r\n\r\nhttps://github.com/appcelerator/windowslib/pull/49 is just an addition to clean up the device listing, but isn't necessary for this ticket.\r\n{quote}\r\n\r\n[~gmathews] Would you create new ticket for it?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T23:40:30.000+0000", "updated": "2016-08-04T23:40:30.000+0000" }, { "id": "395207", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening ticket: \r\n\r\nOS: Windows 10 Pro\r\nAppc core: 6.0.0-37\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160901034311\r\n\r\nPlaceholder device is still reported\r\n\r\n{code}\r\nWindows Phone Devices\r\n Device\r\n UDID 0\r\n{code}\r\n\r\n{code}\r\n \"devices\": [\r\n {\r\n \"name\": \"Device\",\r\n \"udid\": 0,\r\n \"index\": 0,\r\n \"wpsdk\": null\r\n }\r\n ],\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-02T16:44:35.000+0000", "updated": "2016-09-02T16:44:35.000+0000" }, { "id": "395585", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "6_0_X: https://github.com/appcelerator/titanium_mobile_windows/pull/859\r\nmaster: https://github.com/appcelerator/titanium_mobile_windows/pull/860", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-08T06:48:50.000+0000", "updated": "2016-09-08T06:48:50.000+0000" }, { "id": "395933", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kota] [~gmathews] I'd just like to confirm a few things regarding this,\r\n\r\n1. Does this mean we can now handle multiple device being connected when building? (This was what the original ticket was written for before being altered).\r\n * Current status using SDK 6.0.0.v20160909225457:\r\n * Windows phone 8.1 device - Starts a Windows 10 emulator, build process fails with {{\\[ERROR\\] Failed to start Nokia Lumia 520 (RM-914) (code null)}}\r\n * Windows 10 mobile device - Errors out with {{\\[ERROR\\] App deployment to the Windows Phone failed because multiple Windows Phone devices were detected. You should only connect one phone}}\r\n\r\n2. When two devices are connected neither of them have the wpsdk value set in the json output, when just a Windows 10 Mobile device is connected the wpsdk value is set. Seeing as we used this when determining what SDK to use I foresee this being a problem (In the above example I'm pretty sure it is using 8.1 SDKs, due to the logging below)\r\n\r\n{code}\r\n[INFO] Running cmake at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.0.0.v20160909225457\\windows\\cli\\vendor\\cmake\\bin\\cmake.exe in directory C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\r\n[INFO] -- The C compiler identification is MSVC 18.0.40629.0\r\n[INFO] -- The CXX compiler identification is MSVC 18.0.40629.0\r\n{code}\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-12T21:09:43.000+0000", "updated": "2016-09-19T10:04:52.000+0000" }, { "id": "396602", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Hmm nice catch, I think you are right. We don't actually support multiple device and you may see issues. I think I did miss the point then, my [previous PR|https://github.com/appcelerator/titanium_mobile_windows/pull/859] was just meant to delete placeholder device. I would reopen this, but I would also like to move this to 6.1.0 because of the timeframe we have for 6.0.0. Reopening.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-20T01:18:08.000+0000", "updated": "2016-09-20T01:18:08.000+0000" }, { "id": "396606", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Removed 6.1.0 release target, because {{AppDeployCmd.exe}} in Windows Phone 8.1 Tools does not quite work when multiple devices are connected. ({{App deployment to the Windows Phone failed because multiple Windows Phone devices were detected. You should only connect one phone}}). Keep opening this ticket, we might be able to support the situation under multiple Windows 10 Mobile devices are connected.\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-20T02:35:56.000+0000", "updated": "2016-09-20T02:35:56.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }