{ "id": "162517", "key": "TIMOB-23758", "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-08-16T17:35:41.000+0000", "created": "2016-08-10T19:02:29.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [ { "id": "52378", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "162551", "key": "TIMOB-23768", "fields": { "summary": "Windows: windowslib should detect installed Win10 SDK versions", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "54856", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "166223", "key": "TIMOB-24422", "fields": { "summary": "Windows: Deployment fails with \"violates pattern constraint of bms-resource\"", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52373", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "162518", "key": "TIMOB-23759", "fields": { "summary": "Windows: Allow a user to define a target Windows version and Minimum Version in the tiapp.xml", "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": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "52380", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "162520", "key": "TIMOB-23760", "fields": { "summary": "Windows: --wp-sdk option should handle actual Windows SDK versions", "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": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-08T19:19:04.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\nAfter installing Windows 10 SDK 10.0.14393 I can no longer build to a 10.0.10586 emulator. The build fails on install with the error below. This is because in the apps solution file the minimum SDK is set to 10.0.14393, it should be set to one of the following.\r\n\r\n# Lowest possible version of Windows 10, 10.0.10240.0\r\n# Lowest version installed on development machine\r\n\r\nI will file a separate ticket to allow these SDK values to be configured by the user in the tiapp.xml\r\n\r\n{code}\r\n[ERROR] : Failed to install app (code 2148734208): Windows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nOpening connection to device at '169.254.119.193'.\r\nInstalling app...\r\nDisconnecting.\r\n0x80131500 - Failed to install or update package: Unspecified error\r\n0x80131500 - Unspecified error\r\n[ERROR] : Error: Failed to install app (code 2148734208): Windows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nOpening connection to device at '169.254.119.193'.\r\nInstalling app...\r\nDisconnecting.\r\n0x80131500 - Failed to install or update package: Unspecified error\r\n0x80131500 - Unspecified error\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160804185318\\node_modules\\windowslib\\lib\\wptool.js:827: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\nI believe this is true for devices, but I do not have a device with an OS version lower than 10.0.14393 to test this theory.\r\nSome information about these settings can be found [here|https://msdn.microsoft.com/library/windows/apps/mt590210.aspx?f=255&MSPPError=-2147217396]\r\n\r\nh5.Steps to reproduce\r\n\r\n# On a machine with 10.0.14393 SDK installed build to a 10.0.10586 emulator\r\n\r\nh5.Actual result \r\n\r\nThe build will fail\r\n\r\nh5.Expected result\r\n\r\nThe build should not fail", "attachment": [ { "id": "61470", "filename": "emulator10586issue.txt", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-07T21:40:35.000+0000", "size": 29595, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows: Unable to build to 10.0.10586 emulator after installing Windows SDK 10.0.14393", "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: 5.4.0-40\r\nAppc NPM: 4.2.7\r\nTi SDK: 5.4.0.v20160810054359", "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": "393060", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/818", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-12T22:49:14.000+0000", "updated": "2016-08-12T22:49:14.000+0000" }, { "id": "393109", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/818", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-15T03:34:37.000+0000", "updated": "2016-08-15T03:34:37.000+0000" }, { "id": "405539", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey [~kota] when trying to run a 10.0.10586 emulator I get the following error even if no previous application has been installed. \r\n{code:java}\r\n[ERROR] : A debug application is already installed, please remove existing debug application\r\n[ERROR] : Error: A debug application is already installed, please remove existing debug application\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170126175503\\node_modules\\windowslib\\lib\\wptool.js:834:15)\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:829:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n{code}\r\nAny idea why? (Windows 8.1 emulator and Windows 10.0.14393 seem to be working fine)\r\n\r\n*Environment*\r\n{code:java}\r\n\r\nAppc Studio version: 4.8.1.201701192045 \r\nMobile emulator: 10.0.10586 1080p 6inch 2gb\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.11.3\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170126175503\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-27T22:31:17.000+0000", "updated": "2017-02-04T00:40:14.000+0000" }, { "id": "406386", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{code}\r\n[ERROR] : A debug application is already installed, please remove existing debug application\r\n{code}\r\n\r\nAs far as I know, this could happen when there is already an app installed that has same {{guid}}. I am wondering if there is already another Titanium application installed? Please check out the {{guid}} in the {{tiapp.xml}} and changing it may work to avoid this installation error.\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T09:40:36.000+0000", "updated": "2017-02-06T09:40:36.000+0000" }, { "id": "406427", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kota] Even after changing the {{guid}} I am still getting the same installation error. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T21:38:26.000+0000", "updated": "2017-02-06T21:38:26.000+0000" }, { "id": "406538", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kota] I am seeing the same as [~smohammed] in Studio. I also tried a new GUID, and still see the same failure. Although I don't see the error message using the CLI, it still does fail and the app doesn't launch. I attached the log when using the CLI.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-07T21:40:17.000+0000", "updated": "2017-02-07T21:40:17.000+0000" }, { "id": "406565", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~smohammed] [~amukherjee] I forgot to mention about the required configuration about target platform version. You need to specify target platform version in this case, you can specify it on your {{tiapp.xml}} or through {{--wp-sdk}} option.\r\n\r\n{code}\r\n...\r\n\r\n ...\r\n 10.0.10586.0\r\n 10.0.10586.0\r\n ...\r\n\r\n...\r\n\r\nand then\r\n\r\nappc run -p windows --target wp-emulator\r\n{code}\r\n\r\nOr you can specify it through {{--wp-sdk}} option.\r\n\r\n{code}\r\nappc run -p windows --target wp-emulator --wp-sdk 10.0.10586.0\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-08T05:50:12.000+0000", "updated": "2017-02-08T05:50:12.000+0000" }, { "id": "407531", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment:\r\nNPM Version: 2.15.9\r\nNode Version: 4.6.0\r\nWindows OS: 10.0.14393.693\r\nAppc CLI: 6.1.0\r\nAppc CLI NPM: 4.2.8\r\nTitanium SDK version: 6.1.0.v20170220091247\r\nAppcelerator Studio, build: 4.8.1.201612050850\r\nWindows Emulator: 10.0.10586.0\r\n\r\nI was able to validate the fix using both CLI and through Studio. I tried three different ways, all were found to work as expected:\r\n1. Typing this command on CLI: appc run -p windows --target wp-emulator --wp-sdk 10.0.10586.0.\r\n2. Modifying tiapp.xml as Kota stated in his comment, and typing on CLI: appc run -p windows --target wp-emulator.\r\n3. Installing app within Studio and modifying tiapp.xml as stipulated by Kota in his comment above.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-22T01:28:32.000+0000", "updated": "2017-02-22T01:28:32.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }