Ti.API.info
For some reason Ti.API.info is not pushing messages to the console when running an App through the simulator.
Anyone know why this would be happening?
(I'm running iOS SDK 4.0.1, Titanium 1.2.1, and with 1.3.2 of the SDK.)
9 Answers
-
Accepted Answer
Possible Solution:
The same thing happened to one of my projects when I opened it up in xCode and started changing some of the settings. I fixed it by:- I copied the project to a new directory
- deleted the project titanium
- created a project of the same name
- moved the resources folder of the old project into the freshly created one.
Hope this helps!
-
Just an FYI…
This bug has been fixed:
Navigate to:
/Users/[user]/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/logger.py
Apply this patch:
http://github.com/appcelerator/titanium_mobile/commit/c8674cefc86a29cd5667a2bb8d9b33ad244bd87a -
I'm seeing this error in TiDev 1.2.1 and iPhone SDK 4.0. Was there a fix somewhere that I missed?
Thanks.
-
Since this appears to be a bug noted by a few others, I'm currently using this for testing:
function sendError(theMessage) { var a = Titanium.UI.createAlertDialog({title:'Error', message:theMessage}); a.show(); }
try { // Your Code } catch(e) { sendError(e); }
-
So this has to do with iOS 4.0.1? I am using a github build (not the latest) with the same problems and I was wondering yesterday. :)
-
Try creating a new project or/and rebooting you computer. Been fixed that way for number of users.
-
Apparently, there seems to be a weird bug when adding a searchbar to a tableview. If you set searchHidden:false in your tableview params, your tableview will not scroll, if you set searchHidden:true, things work normally except that the searchbar is only visible after scrolling down.
-
I'm having the same issue. I'm using Ti 1.2.1 mobileSDK 1.4.0 and 4.0.2 Apple SDK. I've applied the patch, and I'm getting the console to tell me that 4.0.1 patch installed. I did the chmod +x to the logger.py file and yet I'm still not able to see the messages in the console. However if I look at the log file the messages are there.
I tried rebooting my machine and that didn't help.
Any help would be appreciated as this is driving me nuts and it's making it hard to debug the application.
-
David,
You have to make some changes for 4.0.2, see post here
http://developer.appcelerator.com/question/53381/info–logger-fix-for-ios-402