{ "id": "121533", "key": "TIMOB-15563", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-09-02T05:49:12.000+0000", "created": "2013-10-23T00:37:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.2.0", "usability" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-24T17:43:08.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "*not regression* occurs in CLI 3.1.2\r\nh5.To reproduce\r\n1. Create a project with the only one Target Platform (e.g. ios)\r\n2. cd to this project and run command \"ti project\" - observe the only iOS platform is set to \"true\"\r\n3. Use ti build command and target android and mobile web platforms\r\n\r\nh5.Actual result\r\nAlthough we created project only for iOS, project will build successfully for different platforms as well, and platform folders will appear in a project's build folder.", "attachment": [], "flagged": false, "summary": "CLI: Target Platform's limitation during project creation is not working", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac osx 10.9 Mavericks\r\nCLI 3.2.0 (git://github.com/appcelerator/titanium.git)\r\nTitanium SDK, build: android_build (3.2.0.v20131021122442)", "comment": { "comments": [ { "id": "395169", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is by design. When you create a project, it will only copy the default resources for the specified platforms and sets the deployment targets in the tiapp.xml.\r\n\r\nOnce the project has been created, the deployment targets are only used by Studio so that it can call the project command to copy the default resources for the new deployment targets.\r\n\r\nThere is no enforcing of the deployment targets at build time. It's not necessary and enabling such a feature would hinder the developer experience.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-02T05:49:12.000+0000", "updated": "2016-09-02T05:49:12.000+0000" }, { "id": "415575", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T17:43:08.000+0000", "updated": "2017-03-24T17:43:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }