Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1380] Logging is broken with iphone os 4.0.1

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2011-12-06T10:46:53.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0, Sprint 2011-49, Release 1.8.0.1
ComponentsiOS
Labelsdefect, ios, iphone, logging
Reporterctredway
AssigneeSabil Rahim
Created2011-04-15T02:50:49.000+0000
Updated2012-02-09T10:55:58.000+0000

Description

Our info, debug, error statements are no longer working when run against os 4.0.1.

Comments

  1. Stephen Tramer 2011-04-15

    Not seeing this on simulator. Is it only reproducible on device?

  2. Stephen Tramer 2011-04-15

    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.

  3. Jeff Haynie 2011-04-15

    i'm running 4.0.1 and not seeing this right now.

  4. Dave Morehouse 2011-04-15

    I have seen this issue when using the simulator. See my bug #1418.

  5. Hugo Josefson 2011-04-15

    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.

  6. Damien Elmes 2011-04-15

    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

  7. Blain Hamon 2011-04-15

    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?

  8. ctredway 2011-04-15

    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...

  9. Blain Hamon 2011-04-15

    Okay, so are we marking this fixed in QA, pending Jeff's fixes for Titanium Developer?

  10. gero 2011-04-15

    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.

  11. Thomas Huelbert 2011-04-15

    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.

  12. Kevin Whinnery 2011-05-12

    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
  13. Kevin Whinnery 2011-05-12

    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
  14. Stephen Tramer 2011-12-05

    Need somebody to verify and resolve this ticket.
  15. Sabil Rahim 2011-12-06

    this bug was fixed by commit https://github.com/appcelerator/titanium_mobile/commit/9a1b510530c6f529f6d06ff2df5fb3aba36ed268 back in May , 2011. Closing it as cannot reproduce...
  16. Sabil Rahim 2011-12-06

    initial triage
  17. Thomas Huelbert 2012-02-09

    closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)

JSON Source