{ "id": "63545", "key": "TIMOB-2913", "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": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:26.000+0000", "created": "2011-04-15T03:32:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "binary", "developer", "ios", "release-1.6.0", "simulator", "titanium", "universal" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Android already has something like this, where they can select\ndisplay type when running their simulator. iOS needs to offer\nsomething similar for iPhone/iOS Universal where users can select\nwhat simulated device they want to run their app on. Especially\nimportant for universal, since users will need to test on both\ndevices.

{html}", "attachment": [], "flagged": false, "summary": "Allow simulated device selection for iOS", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129692", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [e345c74e0b9ff930bfa0eb0159e23ae3d6c0be57])\n[#2913 state:fixed-in-qa] builder.py now takes an\nadditional argument to indicate simulated device type (NOT\ndeviceFamily, necessarily). \nhttps://github.com/appcelerator/titanium_mobile/commit/e345c74e0b9f...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:46.000+0000", "updated": "2011-04-15T03:32:46.000+0000" }, { "id": "129693", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

Not really clear what the fix is. I ran an iPhone app on the\niPad simulator (changed hardware->device from iPhone to iPad)\nand it shows as an iPhone app (small). Checked the builder.py and\nthe changes that Jeff made are there, but the app is still an\niPhone app and not a universal app. What are the steps to make this\nwork?

\n

Ti. SDK 1.6 (Jan 25 2011 17:39 r1ead074f)

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:46.000+0000", "updated": "2011-04-15T03:32:46.000+0000" }, { "id": "129694", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Selecting which device to run on is not the same as universal\nsupport. Running an iphone app on an ipad SHOULD make it show up in\nnormal scale with the \"2x\" button. But this is still a valid\nconfiguration and people should be able to test it.

\n

The short answer is \"you don't test this or any other build\nscript features until the new Titanium Developer comes out.\"

\n

The longer answer is to look at how the build script takes\narguments for existing projects and then add a new argument at the\nend, either 'iphone' or 'ipad', which determines which device the\nsimulator starts as.

\n

Also, Jeff didn't make any of the universal changes, I made them\nall.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:47.000+0000", "updated": "2011-04-15T03:32:47.000+0000" }, { "id": "129695", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested Ti Dev 1.3

\n

Works as expected.

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:47.000+0000", "updated": "2011-04-15T03:32:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }