Titanium Community Questions & Answer Archive

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

Titanium Developer not launching simulator after migrating to new Mac

Hi,

Got a new Macbook Pro today and migrated everything over from my old MB using the Migration Assistant and my Time Machine backup. In the process of testing everything to make sure I can work with the new machine, I discovered that I can no longer launch and run my apps through iPhone simulator. Neither my app under development nor Kitchen Sink will run. What I get when I hit the "Launch" button is:

[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...

The Launch button will gray out for a second, then go back to black. I've tried downloading and re-installing but no change. It's also lost all of my info for "Run on Device" for iPhone. Hoping I can re-create this without too much pain . . .

Thanks in advance,

Mark

— asked November 16th 2010 by Mark Pemburn
  • developer
  • fail
  • launch
  • titanium
0 Comments

2 Answers

  • Accepted Answer

    Mark,

    When Appcelerator does not launch the simulator correctly there is a chance the build is corrupt or incorrectly built. You can get round this by going into your apps build/ directory and remove everything under the child iphone/ directory.

    For example: rm -rif build/iphone/*


    http://www.srcnix.com

    — answered November 17th 2010 by Steve Clarke
    permalink
    1 Comment
    • Thanks. Steve. My fix was kind of brute-force (see below) but if this happens again, I'll know what to do.

      — commented November 17th 2010 by Mark Pemburn
  • Oh – phew! Re-installed the iOS 4 SDK and it now works properly. One thing I noticed after posting: In the "Run Emulator" tab at the bottom where it shows "SDK", it said 'loading' and never went to showing the SDK version. So, for whatever reason, the migration caused it to lose the path to the SDK. It's also seeing my developer certs now – Blessed be!

    Mark

    — answered November 17th 2010 by Mark Pemburn
    permalink
    0 Comments
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.