{ "id": "166030", "key": "TIMOB-24402", "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": "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": "2017-03-20T18:32:00.000+0000", "created": "2017-02-15T05:58:26.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T17:41:26.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": "When we build module, currently there's no way to limit target platform/architecture, like building \"ARM only module\" or \"Windows 10 only module\" etc. This may become a issue when developer have dependency libraries/binaries that is build against specific target.\r\n\r\n--So we might want to add new command line option to specify target platform and architecture for module build command--\r\n\r\n\r\nSteps:\r\n\r\n1. Create your module project\r\n\r\n{code}\r\nappc new -n test --id com.example.test\r\n### when prompted for the project type, select \"Titanium Module\" \r\n{code}\r\n\r\n2. Limit for \"Windows 10 only\"\r\n\r\nEdit **YOUR_MODULE_PROJECT/windows/timodule.xml**\r\n\r\n{code}\r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n3. Limit for\"ARM only\"\r\n\r\nEdit **YOUR_MODULE_PROJECT/windows/manifest**\r\n\r\nBEFORE\r\n{code}\r\narchitectures: ARM x86\r\n{code}\r\n\r\nAFTER (Remove **ARM**)\r\n{code}\r\narchitectures: x86\r\n{code}\r\n\r\n4. Build it\r\n\r\n{code}\r\nappc ti build -p windows --build-only\r\n{code}\r\n\r\nThis should create module zip that targets Windows 10 only. You can see there is {{win10}} folder and there's no {{phone}} and {{store}} folder. Also there should be no {{win10/ARM}} folder.\r\n", "attachment": [], "flagged": false, "summary": "Windows: Building module for specific platform/architecture", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 854, "state": "closed", "name": "2017 Sprint 06 SDK", "startDate": "2017-03-12T19:14:58.337Z", "endDate": "2017-03-26T19:14:00.000Z", "completeDate": "2017-03-26T22:01:15.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "407158", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/956", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-16T08:01:18.000+0000", "updated": "2017-02-16T08:01:18.000+0000" }, { "id": "415571", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed in 6.1.0.v20170323174407. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/956.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T17:41:05.000+0000", "updated": "2017-03-24T17:41:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }