{ "id": "103412", "key": "TIMOB-11489", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-18T02:00:35.000+0000", "created": "2012-10-15T17:37:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "qe-port", "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "22004", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "103414", "key": "ALOY-335", "fields": { "summary": "platform checks not working due to TIMOB-11489", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-12-18T23:40:17.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": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "When building apps from the command line using the new CLI, this will always return \"ios\" as the compile variable \"platform\" that is used in hooks and plugins:\r\n\r\n{code}\r\ntitanium build --platform ios\r\n{code}\r\n\r\nWhen building through TiStudio, though, the value is returned as \"iphone\". This throws off most of Alloy's platform specific checks, which to this point relied on the old build scripts which consistently returned \"ios\" for this variable.\r\n\r\nThe expectation is that \"platform\" should always return \"ios\" for ios builds, and it should use the other fields like devicefamily or simtype to give more device-specific information.", "attachment": [], "flagged": false, "summary": "CLI returning values other than \"ios\" for \"platform\" compile variable for ios builds through Studio", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.0.0.201210141844\r\nTiSDK 3.0.0\r\ntitanium CLI 3.0.5", "comment": { "comments": [ { "id": "224140", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3276\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3277", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-18T01:15:55.000+0000", "updated": "2012-10-18T01:15:55.000+0000" }, { "id": "231939", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested and verified on:\r\nTitanium Studio, build: 3.0.0.201212131639\r\nTitanium SDK, build: 3.0.0.v20121212184921\r\nTitanium CLI: 3.0.21", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-18T23:39:58.000+0000", "updated": "2012-12-18T23:39:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }