Run Emulator (iPhone) hangs every other time, right after "No JavaScript errors detected."
Every other time I try to run the app in the iphone emulator, Titanium hangs after "[INFO] No JavaScript errors detected."
I'm running on Mac, Titanium SDK 1.3.0, building an iPhone app, under the Run Emulator tab, SDK is set to 4.0. But this has been a problem for quite a while, and other developers on my team complain too, so I'm not convinced this is specific to my environement.
I click Launch, the iPhone simulator starts up and runs the app just fine. I click Stop, the simulator quits as expected. Then I click Launch again, the console displays two debug messages (shown below), then just hangs there indefinitely. The iPhone simulator is NOT started at this point. If I click Stop and then Launch again, it works fine, starting the simulator and running the app. This behavior is totally repeatable: first time, works fine; second time, hangs; third time works fine, fourth time, works fine; etc. This is what is displayed in the Titanium console while it hangs:
[Info] Compiling JavaScript…one moment
[INFO] No JavaScript errors detected.
If anyone is experiencing this or has any ideas why this might happen, please let me know. Thanks.
2 Answers
-
And when it hangs the launch button is enabled again right? That's how Titanium has always worked for me. I consider that normal behavior.
-
Same problem with me.
Hangs after a few seconds displaying
[INFO] One moment, building …
Launch is enabled.
Simulator does not start up. (3.2 / TD 1.2.1 / TM 1.4)
Any Idea how to make it working again?