{ "id": "165021", "key": "TIMOB-24228", "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": [], "resolution": null, "resolutiondate": null, "created": "2016-12-14T20:16:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cb-tooling", "qe-6.0.1" ], "versions": [ { "id": "18154", "name": "Release 6.0.1", "archived": false, "released": true, "releaseDate": "2016-12-21" } ], "issuelinks": [ { "id": "53827", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "165022", "key": "TIMOB-24229", "fields": { "summary": "iOS: Add deprecation notice when --platform is \"ipad\"", "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": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2020-01-30T18:55:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "The {{--platform}} option accepts {{iphone}} and {{ipad}} as values, which is unexpected. Using {{iphone}} only sets the platform to {{ios}}. However, using {{ipad}} sets the platform to {{ios}} _and_ sets the {{device-family}} to {{ipad}}.\r\n\r\n*Steps to reproduce issue*\r\n1. Create a new project\r\n2. CD to the project folder\r\n3. Run {{appc run -p iphone}}\r\n4. Run {{appc run -p ipad}}\r\n\r\n*Expected Results*\r\nThe {{iphone}} and {{ipad}} values are not accepted or behave the same\r\n\r\n*Actual Results*\r\nBoth values are accepted and {{ipad}} will set the {{device-family}} whereas {{iphone}} will not.\r\n\r\n*Notes*\r\nThe lines containing the information to check is in the first several {{[INFO]}} logs of the build output:\r\n{code}\r\n[INFO] Deploy type: development\r\n[INFO] Building for target: simulator\r\n[INFO] Building using iOS SDK: 10.2\r\n[INFO] Building for iOS Simulator: iPad Pro (12.9 inch)\r\n[INFO] Building for device family: ipad\r\n[INFO] Minimum iOS version: 8.0\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Remove \"ipad\" as --platform option", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.12 (16A323)\r\nTi SDK 6.0.1.v20161213203619\r\nAppc NPM 4.2.9-1\r\nAppc CLI 6.1.0\r\nAlloy 1.9.5\r\nXcode 8.2 (8C38)", "comment": { "comments": [ { "id": "403392", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is by design. This behavior has been there ever since the first version of Titanium that supports iPad.\r\n\r\nWe can remove this coupling in the next major release since the platform shouldn't be tightly coupled to the device family.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-12-14T20:23:17.000+0000", "updated": "2016-12-14T20:23:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }