{ "id": "161240", "key": "TIMOB-23547", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-16T01:03:40.000+0000", "created": "2016-06-21T17:50:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-24T18:23:18.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 an app with mismatched SDKs (tiapp and selected SDK are different) the emulator prompt will only show 8.1 emulators as the forked command will have {{--wp-sdk 8.1}} added to it. It appears that it is set on [this|https://github.com/appcelerator/titanium_mobile_windows/blob/master/cli/commands/_build/config/wpSDK.js#L23] line where the defaultTarget is set to the 'selected' Windows SDK, which on my machine is set to 8.1, even with {{windows.wpsdk.selectedVersion = \"10.0\"}} in the ti config.\r\n\r\nh5.Steps to reproduce\r\n\r\n# Run {{appc ti sdk install -b 5_4_X -d}}\r\n# Set your SDK inside the tiapp to an SDK different to the above, such as 5.3.0.GA\r\n# Build using {{appc run -p windows -T wp-emulator}}\r\n\r\nh5.Actual result\r\n\r\nOnly 8.1 emulators are shown in the prompt\r\n\r\nh5.Expected result\r\n\r\nAll emulators should be shown in the prompt", "attachment": [], "flagged": false, "summary": "Windows: Not all emulators shown when building with mismatched SDKs", "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\nTi SDK: 5.4.0.v20160617074028\r\nAppc NPM: 4.2.7-2 \r\nAppc CLI: 5.4.0-18\r\nAppc Studio: 4.7.0.201606150733", "closedSprints": [ { "id": 707, "state": "closed", "name": "2016 Sprint 19 SDK", "startDate": "2016-09-10T00:17:15.164Z", "endDate": "2016-09-24T00:17:00.000Z", "completeDate": "2016-09-26T05:17:04.253Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "396312", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that this issue is fixed by TIMOB-23661.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-16T01:03:40.000+0000", "updated": "2016-09-16T01:03:40.000+0000" }, { "id": "405194", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Validated fix using the following environment:\r\nNPM Version: 2.15.9\r\nNode Version: 4.6.0\r\nWindows OS: 10 Pro, Version 1607 Build 14393.693\r\nAppc CLI: 6.1.0\r\nAppc CLI NPM: 4.2.8\r\nTitanium SDK version: 6.1.0.v20170123141052\r\nAppcelerator Studio, build: 4.8.1.201612050850\r\n\r\nI first reproduced the issue by setting the SDK version in tiapp.xml to 6.0.1.GA, and the SDK Select version on the command line to 5.5.1.GA. When building the app with the commands in the description, I found that the user had a choice of Windows 8.1 emulators only. I then only edited the SDK version in tiapp.xml to 6.1.0, and found that when building a new app, the user was presented with a choice among both Windows 10 and Windows 8.1 emulators.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-24T18:11:48.000+0000", "updated": "2017-01-24T18:22:48.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }