Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

info : logger fix for IOS 4.0.2

The last logger fix (Ti.API.info) (link below) only trapped 4.0.1, so if you just installed the latest 4.0.2 iOS, it will not work. Make sure you redownload the file and change the lines (52,56) where it says 4.0.1 to 4.0.2 and patch it again, otherwise, the logger does nothing.


— asked August 17th 2010 by Daniel Lim
  • 4.0.2
  • bug
  • fix
  • ios
  • iphone
  • logger
  • I just hit this problem. Thanks for figuring it out!

    — commented August 19th 2010 by Clifton Labrum
  • I just did what you suggested, and the log output still doesn't work. I can see all my Ti.API.info stuff in the actual log file, but I'm not seeing anything in the Titanium console.

    Here's what I changed:

    if iphone_version == '4.0' and os.path.exists(os.path.expanduser(
    "~/Library/Application Support/iPhone Simulator/4.0.2")):
            # Apple broke version in 4.0.1 where they return 4.0 
    instead so we need to try and see if they 
            # have the patch installed
            print "[INFO] Found 4.0.2 patch installed"
            path = "~/Library/Application Support/
    iPhone Simulator/4.0.2"
    — commented August 19th 2010 by Clifton Labrum
  • Never mind, I just forgot to do chmod a+x logger.py

    Thanks again. :)

    — commented August 19th 2010 by Clifton Labrum

1 Answer

  • Thank you!!!

    — answered September 9th 2010 by Nuno Costa
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.