I just installed the 1.0 new bits a few hours ago. I had a running project under 0.9.3, but things are haywire under 1.0. For instance: My first set of trace INFO messages in the first activated window are lost, or not, depending on how much code I try to run when the window loads. And I just coded a new function to build an object holding some key:value properties. But it does not work if I run it when the window loads, yet if I trigger it from any user event later, it works fine. Crazy stuff. Has anyone else experienced this stuff?
2 Answers
I'm not seeing any of my info or debug messages.
I hunted down the log file display issue, at least for my development environment. logger.py seems to ignore the passed SDK value from builder.py and instead queries xcodebuild for the version. I have both the 3.1 and 3.2 beta SDKs installed, although I'm using 3.1 for my production application.
I commented out the xcodebuild detection method. I don't know if this adversely impacts other build environments, but the worst I can envision is what I've been experiencing thus far, missing log messages in Developer.
Comment out lines 28-33 in /Library/Application Support/Titanium/mobilesdk/osx/1.0.0/iphone/logger.py. add this as line 34 (respect the tab indent):
version_split = iphone_version.split('.')
Your Answer
Think you can help? Login to answer this question!