Titanium Community Questions & Answer Archive

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

Mobile SDK 1.1 Crashes Titanium Developer

Hi Titanium team,

I have an app I'm building in 1.0. Works great until I set the Titanium Mobile SDK to 1.1. When building for the simulator, it detects that a precompiled version exists and should run in the interpreter. Then Titanium Developer crashes.

Tested using 1.0 and it works well.

Please help!

OSX: 10.5.8 , iPhone SDK: 3.1 , Titanium Mobile SDK: 1.1

Jon

— asked March 23rd 2010 by First Name Last Name
  • 1.1
  • crash
  • iphone
0 Comments

15 Answers

  • @Nolan, this might help. (at least it seems to have for me)

    @Terry Martin had this bit of wisdom over here, https://developer.appcelerator.com/question/5881/titanium-developer-crash-with-titanium-sdk-110

    <Quote from Terry Martin>

    Seems the new Ti 1.1.0 update is built under 3.2 SDK. Which means the fix may not work for leopard users (when attempting to run the simulator). It crashes Ti.

    However, here's a temp workaround: copy the iphonesim file from 1.0.0 to 1.1.0

    /Library/Application Support/Titanium/mobilesdk/osx/1.0.0/iphone/iphonesim

    [copy the previous iphonesim over to this next one]

    /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim

    This will run the simulator.

    My environment: Leopard 10.5.8, 3.1.3 SDK, Java 1.6.0_17

    </Quote>

    I copied over the iphonesim from 1.0.0 to 1.1.0 as mentioned and TD no longer crashes. Worked with my template app and with the KitchenSink.

    HOWEVER… the saga continues… although launching the project seems to work with this fix, what doesn't seem to be working is that if I edit any files within my project and click Launch again, the app doesn't seem to either be getting rebuilt or deployed (not entirely sure which yet). So whatever I run in the iPhone emulator is still my old project instance. In order to actually recompile the deploy to the simulator, I have to revert to mobile sdk 1.0.0. So, all is not well yet.

    — answered March 23rd 2010 by Christopher Rumpf
    permalink
    0 Comments
  • @Nolan I tried the mobile sdk reinstall, but got the same results.
    Here is what I tried:

    1. Quit Titanium Developer to ensure it was not running.
    2. Removed the 1.1.0 mobilesdk by removing: /Library/Application Support/Titanium/mobilesdk/osx/1.1.0
    3. Started Titanium Developer
    4. Noticed the SDK update in the top right panel and clicked to download and install the 1.1.0 mobile SDK.
    5. The new SDK installation completes
    6. I clicked on the template project and change the mobile sdk from 1.0.0 to 1.1.0.
    7. Went to 'Test & Package' and attempted to Launch the iPhone emulator.
    8. Titanium Developer crashes.

    I also did a second test where I attempted to close and reopen TD inbetween steps 5 and 6 and got the same results.

    — answered March 23rd 2010 by Christopher Rumpf
    permalink
    0 Comments
  • I'm also seeing Titanium Developer crash.

    My current env is:
    OSX=10.5.8
    iPhoneSDK=3.1
    JavaVersion=1.6.0_17

    I had a generic template project that was created by Titanium Developer with absolutely no modifications (simply clicking "New Project" and filling in all the necessary details). With Titanium Mobile SDK set to 1.0.0 it was working fine; it would launch the iPhone emulator and show the 2 default tabs in the app. This morning I downloaded the Titanium SDK update when it appeared in the top right corner of Developer. I edited this template project to Titanium SDK 1.1.0 and attempted to launch the app. Titanium Developer crashes every time the app is attempted to be launched. If I revert the Titanium SDK to 1.0.0, it works again.

    — answered March 23rd 2010 by Christopher Rumpf
    permalink
    0 Comments
  • I confirm Christopher's observation… A newly created default template with no modifications still crashes Titanium Developer when launching for the iPhone simulator.

    Is there a log file we need to open and paste here?

    Thanks!

    — answered March 23rd 2010 by First Name Last Name
    permalink
    0 Comments
  • I'm also having the same issue. Works fine for 1.0.0, but TD crashes with 1.1.0. When I start TD with –debug, there are no apparent entries related to the crash. I initially downloaded before the fix went in for iphonesim, so I removed the 1.1.0 SDK dir and allowed TD to download it again.

    • Mac OS X 10.5.8
    • iPhone SDK: 3.1 (Xcode 3.1.4)
    — answered March 23rd 2010 by Darin Pope
    permalink
    0 Comments
  • someone please fix this :(

    — answered March 23rd 2010 by Steve Burtenshaw
    permalink
    0 Comments
  • I had the same issue this morning after I've updated to 1.1.0.

    Then I tried to install the SDK 3.2, which told me, I need OSX 10.6.2.

    So I updated OSX to 10.6.2, SDK to 3.2 and now everything works great!

    Maybe that helps..

    — answered March 23rd 2010 by Soeren Damrau
    permalink
    0 Comments
  • I wonder if it's safe to ASSume that the Mobile SDK 1.1 only works with Snow Leopard (OSX 10.6.x). Possibly because of the iPad support? That would've been a useful footnote from Appcelerator. Was breaking OSX 10.5 environments a conscious decision or just an oversight? Will 10.5 be re-supported in Mobile SDK 1.2? Confused.

    — answered March 23rd 2010 by Christopher Rumpf
    permalink
    0 Comments
  • we are looking into this now.

    — answered March 23rd 2010 by Nolan Wright
    permalink
    0 Comments
  • can you each try to remove the mobile sdk and try to reinstall.

    you can remove it by removing this directory:

    /Library/Application Support/Titanium/mobilesdk/osx/1.1.0

    — answered March 23rd 2010 by Nolan Wright
    permalink
    0 Comments
  • Same same. 10.5.7, iPhoneSDK 3.1

    — answered March 23rd 2010 by Todd Kirby
    permalink
    0 Comments
  • @Christopher Rumpf ,don't know what I do with:
    copy the iphonesim file from 1.0.0 to 1.1.0
    /Library/Application Support/Titanium/mobilesdk/osx/1.0.0/iphone/iphonesim
    /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim

    ….but after no more crashes! thanks :)

    — answered March 23rd 2010 by Alexander van der Werff
    permalink
    0 Comments
  • Anyone knows how to solve it? This is also happening with me.

    Plz, help?!

    — answered March 25th 2010 by Marcos Gonçalves
    permalink
    0 Comments
  • Tried from 1.1.0 to 1.1.1 to 1.1.2

    Still crashed.
    My setup:
    OSX 10.5.8
    Ti developer 1.1
    Mobile SDK 1.1.0, 1.1.1, 1.1.2

    1.0.0 is OK but I read that Apple Store reject apps because of 'proprietary code'

    — answered March 26th 2010 by Peter Lum
    permalink
    0 Comments
  • Christopher, I'm having that same issue with it "not really" compiling my updated app. did you ever find a fix?

    — answered April 5th 2010 by L Garrett
    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.