{ "id": "105674", "key": "TIMOB-11891", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-31T06:26:21.000+0000", "created": "2012-11-29T10:06:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios100112", "qe-sdk3.1.0", "triage" ], "versions": [ { "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" } ], "issuelinks": [ { "id": "30497", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "114879", "key": "TIMOB-13984", "fields": { "summary": "CLI: iOS: Sometimes the generated ApplicationRouting.m file is incomplete", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "26204", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "110402", "key": "TIMOB-12898", "fields": { "summary": "iOS: Improve error reporting in cases where iTunes sync fails to initiate", "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" } }, "priority": { "name": "Low", "id": "4" }, "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": "2013-10-31T06:26:21.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": "Titanium mobile project fails to build intermittently. When the project is cleaned and build multiple times, it gets built successfully.\r\n\r\nSteps to reproduce:\r\n1. Create or import a titanium mobile project into the studio.\r\n2. Try to install the project on iOS simulator or device.\r\n\r\nActual:\r\nThe following error is displayed on console and the project is not build:\r\n\r\n[ERROR] : \b\b \b** BUILD FAILED **\r\n[ERROR] : \b\b \bThe following build commands failed:\r\n[ERROR] : \b\b \b\tCompileC build/tabeviewrow_timob4658.build/Debug-iphoneos/tabeviewrow_timob4658-universal.build/Objects-normal/armv7/ApplicationRouting.o Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : \b\b \b(1 failure)\r\n\r\nExpected:\r\nThe project should build successfully.", "attachment": [ { "id": "33841", "filename": "ApplicationRouting.txt", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-01T11:57:37.000+0000", "size": 148207, "mimeType": "text/plain" }, { "id": "36743", "filename": "p-iPad.build.zip", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 5259068, "mimeType": "application/zip" }, { "id": "43360", "filename": "StudioConsoleLog.txt", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T07:07:44.000+0000", "size": 1204, "mimeType": "text/plain" }, { "id": "36744", "filename": "studio-console-log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 1867, "mimeType": "text/plain" }, { "id": "36745", "filename": "studio-environment.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 9347, "mimeType": "text/plain" }, { "id": "36746", "filename": "studio-error-log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 282035, "mimeType": "text/plain" }, { "id": "36747", "filename": "terminal-command-log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 91631, "mimeType": "text/plain" }, { "id": "36748", "filename": "ti-info.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "size": 26344, "mimeType": "text/plain" }, { "id": "33810", "filename": "TIMOB11891Logs.rtf", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-30T11:47:29.000+0000", "size": 234045, "mimeType": "text/rtf" } ], "flagged": false, "summary": "CLI: iOS: Build - Titanium mobile project fails to build intermittently", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.0.v20121128151109\r\nStudio: 3.0.0.201211281826\r\nOS: OSX 10.8\r\nXcode: 4.5.1", "comment": { "comments": [ { "id": "229055", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "please be sure to include the version of xcode on these bugs", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T17:29:30.000+0000", "updated": "2012-11-29T17:29:30.000+0000" }, { "id": "229057", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Anshu, you're building for iOS 6, right? Can you set the console log level to \"trace\" and include any more relevant error messages that could help identify the source of the problem?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-29T17:40:19.000+0000", "updated": "2012-11-29T17:40:19.000+0000" }, { "id": "229065", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Need /build/iphone/build/build.log attached.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T18:06:58.000+0000", "updated": "2012-11-29T18:06:58.000+0000" }, { "id": "229463", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just tried reinstalling the xcode and now, I am unable to reproduce the issue. However, please find the required file(ApplicationRouting.m) as attachment.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-01T11:57:07.000+0000", "updated": "2012-12-01T11:57:07.000+0000" }, { "id": "229476", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as can't reproduce for now.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-01T16:47:50.000+0000", "updated": "2012-12-01T16:47:50.000+0000" }, { "id": "229556", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "FWIW, I've seen this before when the iOS build command calls titanium_prep to encrypt the JavaScript files and for some reason the output is truncated and written to the ApplicationRouting.m file. I don't think this is an async thing.\n\nDoing a clean and rebuild should fix it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-03T14:35:34.000+0000", "updated": "2012-12-03T14:35:34.000+0000" }, { "id": "240080", "author": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "body": "FWIW I had this same error message today, repeatable many times in a row (about 20 times, with many \"Project->Clean\" sprinkled in between). I am using Titanium SDK 3.0.2 and targeting an iOS 6.1 device. Finally I went into iTunes and noticed (as it sometimes does) that it was complaining that \"iphone could not be synced because the sync session failed to start\". So something was wrong with iTunes' connection to my device. I restarted iTunes (which is what people recommend when they see that message in general) and when I confirmed that the syncing was again working as expected, then back in Titanium it compiled to the device just fine. So it could be this Titanium compilation error message is related to when iTunes can't connect to the device properly?", "updateAuthor": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-27T23:53:52.000+0000", "updated": "2013-02-27T23:53:52.000+0000" }, { "id": "240097", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Nathan: Were you seeing the same error as listed in this bug? If different, was it the \"itunes sync failed to start\" error?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-28T01:18:11.000+0000", "updated": "2013-02-28T01:18:11.000+0000" }, { "id": "240142", "author": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "body": "@Eric Yes I was seeing the exact error message listed in this bug report. I was seeing the {{CompileC \"build/Gleim Flashcards.build/Debug-iphoneos/Gleim Flashcards-universal.build/Objects-normal/armv7/ApplicationRouting.o\" Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler}} error on the Titanium side. I did not see any other error on the Titanium side.\r\n\r\nThen when I checked iTunes (exasperated, I didn't know what else to do), that's when I saw that iTunes was telling me \"iphone could not be synced because the sync session failed to start\". This seemed problematic, so I restarted iTunes and then did a manual sync operation to the device to verify it was once again working normally. Then going back to Titanium, the very next attempt (after 20 failures in a row at least) to compile to the device succeeded. I can't say for sure that the error listed in this bug started exactly when iTunes started failing to start the sync session (I did not know to look for that at first). I can say that directly previously to the 20+ failures, it had been working great, as normal, and then it suddenly just stopped working and I started seeing the Titanium error. So it would at least seem plausible that it could be related.\r\n\r\nI'll keep an eye out for it now that I know to look for it, and if I can confirm that this bug starts to appear as soon as iTunes starts having session sync problems, I'll confirm it here.", "updateAuthor": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-28T14:17:55.000+0000", "updated": "2013-02-28T14:17:55.000+0000" }, { "id": "240207", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Nathan, thanks. We have occasionally seen iTunes failures generally requiring a disconnect/reconnect of the device. This has been known to happen when no Studio or Titanium activity is occurring, and it occurs more often with iTunes 11. What version of iTunes are you running?\n\nI will instruct the QE team to keep an eye open for this issue, and will keep this ticket open. If we see this issue again we will try to capture the error.\n\nI will open an improvement request for better error handling in these cases and link to this ticket.\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-28T18:00:54.000+0000", "updated": "2013-02-28T18:00:54.000+0000" }, { "id": "240271", "author": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "body": "@Eric I have iTunes 11.0.1 currently.", "updateAuthor": { "name": "bigotilda", "key": "bigotilda", "displayName": "Nathan Nadeau", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-28T22:23:26.000+0000", "updated": "2013-02-28T22:23:26.000+0000" }, { "id": "241296", "author": { "name": "tjstalcup", "key": "tjstalcup", "displayName": "Thomas Stalcup Jr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm now seeing this issue pop up 20 times in a row. I've tried checking iTunes for errors, Restarting iTunes, Manual Sync, Clean Project a bunch of times, same result:\r\n\r\n[ERROR] : \b\b \b** BUILD FAILED **\r\n[ERROR] : \b\b \bThe following build commands failed:\r\n[ERROR] : \b\b \b\tCompileC build/AchievementUnlocked.build/Debug-iphoneos/AchievementUnlocked-universal.build/Objects-normal/armv7/ApplicationRouting.o Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : \b\b \b(1 failure)", "updateAuthor": { "name": "tjstalcup", "key": "tjstalcup", "displayName": "Thomas Stalcup Jr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T06:09:47.000+0000", "updated": "2013-03-08T06:09:47.000+0000" }, { "id": "244511", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've seen this a few times, I am currently stuck in this state, attaching logs.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:39:36.000+0000", "updated": "2013-03-28T18:39:36.000+0000" }, { "id": "244513", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Attaching:\r\n\r\nti-info.txt\r\nterminal-command-log.txt\r\nstudio-error-log.txt\r\nstudio-environment.txt\r\nstudio-console-log.txt\r\np-iPad.build.zip => ./build/iphone/build/p.build/Debug-iphonesimulator/", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:48:22.000+0000", "updated": "2013-03-28T18:48:22.000+0000" }, { "id": "244515", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If a project is named 'p' this error occurs, if a project is named 'project' the error goes away.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:59:57.000+0000", "updated": "2013-03-28T18:59:57.000+0000" }, { "id": "244562", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4052", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-03-28T22:07:35.000+0000", "updated": "2013-03-28T22:07:35.000+0000" }, { "id": "261424", "author": { "name": "francois.m", "key": "francois.m", "displayName": "Francois Mouchati", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I have the exact same problem and do not understand why this ticket is marked as resolved. Where is the resolution? What should I do to get ride of the problem?\r\nTks.", "updateAuthor": { "name": "francois.m", "key": "francois.m", "displayName": "Francois Mouchati", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-11T12:24:40.000+0000", "updated": "2013-07-11T12:24:40.000+0000" }, { "id": "276098", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I got this issue again using SDK 3.2.0 build. See the details below - \n\nEnvironment - \nAppc Studio - 3.2.0.201310181700\nSDK - 3.2.0.v20131021142445\nacs - 1.0.7\nalloy - 1.2.2\ntitanium - 3.2.0\ntitanium-code-processor - 1.0.3\nXcode - 5.0\nOS - Mountain Lion (10.8.5)\nDevice - iPhone 5 (v7.0.2)\n\nResult - Project fails to build. See the attached log file.\nHence reopening this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T07:08:28.000+0000", "updated": "2013-10-22T07:08:28.000+0000" }, { "id": "277463", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "The error mentioned by Dhirendra seems to be fixed with TIMOB-14624.\r\nSame error occurred for TIMOB-14235 and TIMOB-15441 which now appears to be working fine with build: \r\nOSX: 10.8.5\r\nXcode:5.0\r\nAppcelerator Studio: 3.2.0.201310300145\r\nSDK: 3.2.0.v20131029150357\r\nacs:1.0.7\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processo:1.0.3\r\nDevice: iOS7(v7.0.3)-iPodTouch1\r\n", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-31T06:21:30.000+0000", "updated": "2013-10-31T06:22:02.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }