{ "id": "84287", "key": "TIMOB-6906", "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": "14170", "description": "2012 Sprint 22 JS", "name": "2012 Sprint 22 JS", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-07T23:20:15.000+0000", "created": "2011-12-27T13:19:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.0.0beta2", "core" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-12-18T22:29: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": "10207", "name": "Tooling" } ], "description": "h2. Problem\r\nIf a character return/line feed is anywhere in the description field of the TIAPP.xml, compilation fails.\r\n\r\nh2. Steps to Reproduce\r\n1. Create a new blank project.\r\n2. Edit the project settings in TIAPP.xml (or use attached file)\r\n3. Add a multi-line description using char returns/line breaks.\r\n4. Build for simulators/emulators\r\n5. Observe errors below\r\n\r\nh2. Logs\r\n\r\n{code:lang=none|title=iOS Error}\r\n[ERROR] /Users/sfeather/Documents/Developer/Titanium Studio Workspace/evangelapps-church/build/iphone/main.m:16:47: error: unexpected '@' in program [1]\r\n[ERROR] /Users/sfeather/Documents/Developer/Titanium Studio Workspace/evangelapps-church/build/iphone/main.m:18:44: error: expected ';' after top level declarator [1]\r\n[ERROR] /Users/sfeather/Documents/Developer/Titanium Studio Workspace/evangelapps-church/build/iphone/main.m:18:45: error: unexpected '@' in program [1]\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n{code}\r\n\r\n{code:lang=none|title=main.m}\r\nLine 16 NSString * const TI_APPLICATION_DESCRIPTION = @\"EvangelApps Church Framework \r\nLine 17 Builds with 1.7.5\";\r\nLine 18 NSString * const TI_APPLICATION_COPYRIGHT = @\"2011 by EvangelApps LLC\";\r\n{code}\r\n\r\n{code:lang=none|title=Android Error}\r\n[ERROR] Error(s) compiling generated Java code\r\n[ERROR] /Users/sfeather/Documents/Developer/Titanium Studio Workspace/evangelapps-church/build/android/gen/com/evangelapps/church/EvangelappsChurchAppInfo.java:55: unclosed string literal\r\n{code}\r\n\r\n{code:lang=none|title=EvangelappsChurchAppInfo.java}\r\nLine 54\tpublic String getDescription() {\r\nLine 55 return \"EvangelApps Church Framework \r\nLine 56 Builds with 1.7.5\";\r\nLine 57\t}\r\n{code}\r\n\r\n", "attachment": [ { "id": "24853", "filename": "tiapp.xml", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-27T13:59:39.000+0000", "size": 2055, "mimeType": "text/xml" } ], "flagged": false, "summary": "Tooling: tiapp.xml - line breaks in description field break compilation", "creator": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "environment": "* OSX: 10.7\r\n* xCode 4.2\r\n* iOS Simulator 5.0\r\n* Android Emulator targeting 2.3.3\r\n* TI Studio: 1.0.7\r\n* Titanium SDK: 1.7.5, 1.8.0.1\r\n\r\n", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "177316", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIt's not clear what this issue is, however, or how to reliably reproduce it. Please add a proper description and an tiapp.xml file to the main body of the ticket.\r\n\r\nAll the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-27T13:27:16.000+0000", "updated": "2011-12-27T13:27:16.000+0000" }, { "id": "217305", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "This bug continues to exists in 2.1.2 and is still tripping people up 6 months later:\r\n\r\nhttp://developer.appcelerator.com/question/133742/cant-run-my-app-anymore-on-ios-simulator#\r\n\r\n", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-02T04:53:28.000+0000", "updated": "2012-09-02T04:53:28.000+0000" }, { "id": "225414", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3349\n3.0.X pull request: https://github.com/appcelerator/titanium_mobile/pull/3350", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-29T21:07:23.000+0000", "updated": "2012-10-29T21:07:23.000+0000" }, { "id": "231902", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\r\nTitanium Studio, build: 3.0.0.201212131639\r\nTitanium SDK, build 3.0.0.v20121212184921\r\nMacBookPro 10.8.2 Mountain Lion\r\nXCode 4.5.2\r\nSimulator 6.0\r\nClosing as fixed.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-18T20:25:59.000+0000", "updated": "2012-12-18T20:29:15.000+0000" }, { "id": "231910", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "!http://content.screencast.com/users/Stephen_Feather/folders/Jing/media/f083a29c-82ca-4f2d-b0c9-a5732659702a/00000582.png!", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-18T21:56:01.000+0000", "updated": "2012-12-18T21:56:01.000+0000" }, { "id": "231911", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Fix Version/s:\r\nRelease 3.0.0, Release 3.1.0, 2012 Sprint 22 JS, 2012 Sprint 22", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-18T21:58:32.000+0000", "updated": "2012-12-18T21:58:32.000+0000" }, { "id": "231912", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "According to your screenshot, you're using SDK 3.0.0.GA, but in the log you can see it's using the 3.0.0.GA/iphone/builder.py which was NOT fixed. It was only fixed in the new CLI's iOS build script.\n\nHow did you manage to tell Studio to use the old builder.py?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-18T22:11:27.000+0000", "updated": "2012-12-18T22:11:27.000+0000" }, { "id": "231915", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Thats the question, isn't it? \r\nI don't have an alias in place (well, I do, titaniumpy points to the old python scripts for module dev per our last convo).\r\n\r\nCould it be that I'm still using 2.1.2 TiStudio (stable) ? and not the buggy 3.0?", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-18T22:23:55.000+0000", "updated": "2012-12-18T22:23:55.000+0000" }, { "id": "231918", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Buggy 3.0? Impossible. Try build your app from the command line:\n\n{code}\ntitanium build -p ios --log-level trace -d /path/to/your/project\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-18T22:29:27.000+0000", "updated": "2012-12-18T22:29:27.000+0000" }, { "id": "231919", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was using a newly created project in 3.0.0 GA", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-18T22:29:40.000+0000", "updated": "2012-12-18T22:29:40.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }