Problem
Ti.API.log (including info, warn, error) messages don't show up in a very particular scenario. If you use the latest version of XCode (4.0.2) and target iOS 4.3 from Titanium Developer, the messages don't show up. Point at iOS 4.2, and the messages will show up.
Sample Code
Ti.UI.createWindow({ backgroundColor: '#fff' }).open();
Ti.API.info('PASS: You saw this message! Hoot hoot.');
How To Reproduce
Open up Ti Dev or Ti Studio
Make sure XCode 4.0.2 installed
Target iOS 4.3 with the sample code
Run it, and you won't see the "PASS:" message.
Target iOS 4.2
Run it, and you will see the "PASS:" message.
Tested On
BROKEN with XCode 4.0.2 targeting iOS 4.3
WORKS with XCode 4.0.2 targeting iOS 4.2
WORKS with XCode 4.0 targeting iOS 4.3
WORKS with XCode 4.0 targeting iOS 4.2
REPRODUCED IN: Ti Studio, Ti Developer 1.2.1, Ti Developer 1.2.2
Run in XCode
As a side note... if you run the Titanium mobile project directly from XCode, you will see the log messages you expect. Even though they don't show up in Ti Stud or Ti Dev, they will show up in XCode's console.
Associated Helpdesk Ticket
http://appc.me/c/APP-476989
Have to log hours for this bug.
logger.py. Never forget.
Tested with 1.7.0.294b6aa... on 4.0-4.3 Simulator