[TIMOB-1380] Logging is broken with iphone os 4.0.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-12-06T10:46:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0, Sprint 2011-49, Release 1.8.0.1 |
Components | iOS |
Labels | defect, ios, iphone, logging |
Reporter | ctredway |
Assignee | Sabil Rahim |
Created | 2011-04-15T02:50:49.000+0000 |
Updated | 2012-02-09T10:55:58.000+0000 |
Description
Our info, debug, error statements are no longer working when run against os 4.0.1.
Not seeing this on simulator. Is it only reproducible on device?
Passing back to Blain. Simulator runs 4.0 only, and 4.0.1 is a fix for 3G/3GS/iPhone 4 devices only. Can't test on my 3GT.
i'm running 4.0.1 and not seeing this right now.
I have seen this issue when using the simulator. See my bug #1418.
I am affected by this using the iPhone simulator (and also device IIRC).
Titanium SDK 1.4.0 and iOS SDK 4.0.1.
Workaround: Opening the project in XCode, it prints to its console when run from inside XCode. The turnaround time between each code change and when it can run in XCode is very long, because I'm forced to do a Clean and complete rebuild in XCode for it to pick up changed js files in Resources.
Recently I'm seeing messages like app events printed, but not my own debug statements. To work around it, I do something like
tail -f /Users/dae/Library/Application\ Support/iPhone\ Simulator/4.0.1/Applications/4F82A24E-BF69-4903-8BBC-9C6CD9038A9F/Documents/810049d2-a099-457c-923d-ec1c3930dd6f.log
Not sure what can be done at the Titanium engine side, since it's still just outputting to stderr, and there's no redirection. Is this something that's Titanium Developer-side?
Doing what Jeff added to the bottom of this blog post fixed this for me.
http://developer.appcelerator.com/blog/2010/07/introducing-titanium-mobile-1-4.html"> http://developer.appcelerator.com/blog/2010/07/introducing-titanium...
Okay, so are we marking this fixed in QA, pending Jeff's fixes for Titanium Developer?
Maybe a hint: Logging was broken for me (the fix from the blog post did not help) until I explicitely deleted the app on the simulator. Since the next installation/run it worked again. Obviously this is a reason why many testers can reproduce the issue and others can't.
Using 1.4.1 f88b9e, I am able to log app events and custom statements on devices with 3.1.2. 4.0 and 4.0.1 running. I also checked simulators without issue. Good note above about deleting old instances of the app.
This is still broken on 1.6.2 - an accurate description (and workaround) for the problem was posted by a community member here: http://developer.appcelerator.com/question/118667/titanium-161-and-xcode-43---debuginfo-problem
This is a reproducible issue in 1.6.2 - see this community Q&A thread, an the necessary fix. I was experiencing this with my Xcode install. http://developer.appcelerator.com/question/118667/titanium-161-and-xcode-43---debuginfo-problem
Need somebody to verify and resolve this ticket.
this bug was fixed by commit https://github.com/appcelerator/titanium_mobile/commit/9a1b510530c6f529f6d06ff2df5fb3aba36ed268 back in May , 2011. Closing it as cannot reproduce...
initial triage
closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)