{ "id": "162793", "key": "TIMOB-23816", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18293", "name": "windowslib 0.4.20", "archived": false, "released": true, "releaseDate": "2016-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-26T05:15:47.000+0000", "created": "2016-08-24T14:08:59.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-6.0.0", "regression" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-29T12:11:06.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\n*This is a regression from 5.4.0.GA*\r\n\r\nWhen building to a Windows Phone 8.1 emulator the following happens.\r\n\r\n* An Windows 10 Mobile emulator is launched\r\n* The build fails with the below, probably because the emulator is a Windows 10 Mobile emulator\r\n\r\n{code}\r\n[ERROR] The deployment operation failed because the package targets the wrong processor architecture.\r\n[ERROR] Error: The deployment operation failed because the package targets the wrong processor architecture.\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.5.0.v20160822000355\\node_modules\\windowslib\\lib\\wptool.js:769:10)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at maybeClose (internal/child_process.js:827:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n{code}\r\n\r\n*Notes*\r\n\r\nWhen using 5.5.0 and 6.0.0 the device-id for the emulator launched is 8-1-1, in 5.4.0.GA it is 8-1-13. In previous SDKs (and 5.4.0.GA), 8-1-1 was a Windows 10 Mobile emulator which was removed from {{ti info}} output and emulator selection prompts TIMOB-19811, which explains why when selecting that option launches a Windows 10 emulator. I believe this change is the reason for the error outlined above\r\n\r\nh5.Steps to reproduce\r\n\r\n# Install either the latest 5_5_X or 6_0_X SDK. {{appc ti sdk install -b 5_5_X -d}} or {{appc ti sdk install -b 6_0_X -d}}\r\n# Ensure that the installed SDK above is your selected SDK {{appc ti sdk select }} and also the SDK in your tiapp.xml\r\n# Build an application using {{appc run -p windows -T wp-emulator}}\r\n# Select an 8.1 emulator in the prompt\r\n\r\nh5.Actual result\r\n\r\nA Windows 10 Mobile emulator will be launched and the build process will fail with the above error\r\n\r\nh5.Expected result\r\n\r\nA Windows Phone 8.1 emulator will be launched, build process should not fails", "attachment": [], "flagged": false, "summary": "Windows: Unable to build to an 8.1 emulator", "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\nAppc core: 6.0.0-31 \r\nAppc NPM: 4.2.8-5 \r\nTi SDK: 6.0.0.v20160823163945\r\nWindows Phone 8.1 Emulators", "closedSprints": [ { "id": 695, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2016-08-13T00:00:16.620Z", "endDate": "2016-08-27T00:00:00.000Z", "completeDate": "2016-08-29T03:18:08.942Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "394449", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/windowslib/pull/55\r\n\r\ndoes this need a 6_0_X backport?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-26T01:49:06.000+0000", "updated": "2016-08-26T03:15:04.000+0000" }, { "id": "394476", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[6_0_X] https://github.com/appcelerator/titanium_mobile/pull/8272\r\n[master] https://github.com/appcelerator/titanium_mobile/pull/8275\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-26T05:15:38.000+0000", "updated": "2016-08-26T05:15:38.000+0000" }, { "id": "394630", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\n\r\nWindows 10 Pro \r\nAppc core: 6.0.0-31 \r\nAppc NPM: 4.2.8-5 \r\nTi SDK: 6.0.0.v20160829005859\r\nWindows Phone 8.1 Emulator\r\n\r\nUsing the SDK version above, 8.1 emulators can now be built to. Other build choices still work as expected\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-08-29T12:11:01.000+0000", "updated": "2016-08-29T12:11:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }