Project: titanium
Issue TIMOB-20588: iOS: Log messages are not always displayed on compile time
The first Ti.API.info message will not be displayed every time the app is launched. Its inconsistent and will be displayed sometimes when the app is cleaned and launched but very rarely. If Ti.API.info is called after being compiled, everything is logged as expected. This issue only persists if running through studio , all works as expected through Xcode {code:javascript} Ti.API.info("Wont be displayed"); var win = Ti.UI.createWindow({ backgroundColor: 'white', exitOnClose: true, fullscreen: false, layout: 'vertical', title: 'Label Demo' }); var label1 = Ti.UI.createLabel({ color: '#900', font: { fontSize:12 }, text: 'A simple label', textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER, top: 30, width: Ti.UI.SIZE, height: Ti.UI.SIZE }); label1.addEventListener("click",function(e){	Ti.API.info("Will be Displayed"); }); win.add(label1); win.open(); {code}
Story points: 3