{ "id": "83769", "key": "TIMOB-6748", "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": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12091", "description": "", "name": "Sprint 2011-51", "archived": true, "released": true, "releaseDate": "2011-12-26" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-27T13:25:15.000+0000", "created": "2011-12-13T15:06:16.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_filesystem", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-02T16:55:44.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": "Build succeeds to the iOS 5 Simulator, but fails to an attached iPad and ad hoc build with the error below when the app utilizes Database features.\r\n\r\n\r\n[ERROR] build/iphone/Classes/TiDatabaseProxy.m:250:3: error: expected a type [1]\r\n[ERROR] build/iphone/Classes/TiDatabaseProxy.m:252:11: error: use of undeclared identifier 'TiFilesystemFileProxy' [3]\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111212195727/iphone/builder.py\", line 1418, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111212195727/iphone/builder.py\", line 1180, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111212195727/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n\r\n\r\nIt looked like this recent pull (6 days ago) might be related...\r\nhttps://github.com/appcelerator/titanium_mobile/pull/860", "attachment": [], "flagged": false, "summary": "iOS: Can't build to iOS device when using Database features", "creator": { "name": "brad@inspiringapps.com", "key": "brad@inspiringapps.com", "displayName": "Brad Weber", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "brad@inspiringapps.com", "key": "brad@inspiringapps.com", "displayName": "Brad Weber", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.1.0.201112091635\r\nTitanium SDK 1.7.6.v20111209013042, 1.8.0.1.v20111212195727\r\n(works properly in 1.7.5)", "comment": { "comments": [ { "id": "176439", "author": { "name": "ebryn", "key": "ebryn", "displayName": "Erik Bryn", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug seems to occur when your app uses the database module, but not the filesystem module.\r\n\r\nThe filesystem code is conditionally included using #ifdefs. That pull request (https://github.com/appcelerator/titanium_mobile/pull/860) added a filesystem dependency to the database module.\r\n\r\nYou can workaround the issue by using Ti.Filesystem somewhere in your app. I'm doing something like:\r\n\r\n{{Ti.API.debug(Ti.Filesystem.applicationDataDirectory); // Workaround bug in 1.8.0.1}}", "updateAuthor": { "name": "ebryn", "key": "ebryn", "displayName": "Erik Bryn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-18T19:31:17.000+0000", "updated": "2011-12-18T19:31:31.000+0000" }, { "id": "176491", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test code:\r\n\r\n{code}\r\nvar d = Ti.Database.open('testdb.db');\r\nvar f = d.file;\r\nTi.API.info(f.path);\r\n{code}\r\n\r\nYou *MUST* build for device in Studio to ensure that both the original bug is valid, and that the fix works. Copy the {{testdb.db}} file from Kitchen Sink into this project's {{Resources}} before running.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T10:00:48.000+0000", "updated": "2011-12-19T10:01:12.000+0000" }, { "id": "177234", "author": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am having the same Problem on 1.7.6.v20111220130134.\r\n\r\nError Message: use of undeclared identifier 'TiFilesystemFileProxy'\r\n\r\nSeems it's not fixed in the current 1.7.6 version.", "updateAuthor": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-27T06:08:59.000+0000", "updated": "2011-12-27T06:09:23.000+0000" }, { "id": "177292", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This needs to be merged to 1_7_X as well.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-27T11:12:18.000+0000", "updated": "2011-12-27T11:12:18.000+0000" }, { "id": "177507", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Noting backpatch to 1.7.6 here.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-28T16:57:00.000+0000", "updated": "2011-12-28T16:57:00.000+0000" }, { "id": "179139", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S, iPad 2\r\n\r\nExpected result is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T16:52:43.000+0000", "updated": "2012-01-12T16:52:43.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }