{ "id": "91992", "key": "TIMOB-9171", "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": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13402", "description": "Sprint 2012-10 Core", "name": "Sprint 2012-10 Core", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-29T19:50:40.000+0000", "created": "2012-05-18T10:05:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-ios050912", "regression" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-05-29T19:50:40.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": "Regression: This does not occur in 2.0.1GA2 \r\n\r\nStep to Reproduce:\r\n1. Create a new application\r\n2. Add in the code below:\r\n{code}\r\nalert(\"compile without UI\");\r\n{code}\r\n3. Compile to iOS device\r\n\r\nActual:\r\n[INFO] Performing clean build\r\n[ERROR] /Users/nhuynh/Documents/Titanium Studio Workspace/Failure/build/iphone/Classes/TiUIWindow.m:37:7: error: use of undeclared identifier 'TiUIWindowProxy'; did you mean 'TiUIWindow'? [3]\r\n[ERROR] /Users/nhuynh/Documents/Titanium Studio Workspace/Failure/build/iphone/Classes/TiUIWindow.m:37:23: error: expected expression [1]\r\n[ERROR] /Users/nhuynh/Documents/Titanium Studio Workspace/Failure/build/iphone/Classes/TiUIWindow.m:37:30: error: expected ']' [1]\r\n[ERROR] /Users/nhuynh/Documents/Titanium Studio Workspace/Failure/build/iphone/Classes/TiUIWindow.m:37:53: error: missing '[' at start of message send expression [3]\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120517153200/iphone/builder.py\", line 1465, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120517153200/iphone/builder.py\", line 1224, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120517153200/iphone/run.py\", line 41, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n\r\nExpected:\r\nShould compile with no error. Worked in 2.0.1GA2\r\n\r\nWorkaround:\r\nAdd this code to it: win = Ti.UI.createWindow();", "attachment": [], "flagged": false, "summary": "iOS: Window: Cannot compile an application to device when Window is not created", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac 10.6.8\r\nStudio: 2.0.2.201205161825\r\nSDK: 2.0.2.v20120517153200", "comment": { "comments": [ { "id": "195308", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note to fixer: this is happening because TiUIWindow is always compiled, and has a dependency on TiUIWindowProxy, which is conditionally compiled.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-18T11:31:30.000+0000", "updated": "2012-05-18T11:31:30.000+0000" }, { "id": "195324", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR #2226 fixes this", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-18T13:37:45.000+0000", "updated": "2012-05-18T13:37:45.000+0000" }, { "id": "195325", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed on 2_0_X by PR 2227", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-18T13:47:09.000+0000", "updated": "2012-05-18T13:47:09.000+0000" }, { "id": "195335", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.0.2.v20120518140206 on iPhone 4s 5.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-18T15:02:51.000+0000", "updated": "2012-05-18T15:02:51.000+0000" }, { "id": "195337", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to adjust sprint", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-18T15:07:54.000+0000", "updated": "2012-05-18T15:07:54.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }