Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked July 29th 2010 by G Kasparek
  • compiling
  • hangs
  • javacsript
  • simulator
  • titanium

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.

    — answered July 29th 2010 by Caio Iglesias
    1 Comment
    • No, the launch button remains disabled, and stop is enabled. Actually, though, this problem just went away after I updates a few software updates. Would updating Java affect this?

      — commented July 29th 2010 by G Kasparek
  • 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?

    — answered August 29th 2010 by Ralf Klotzbuecher
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.