Titanium Community Questions & Answer Archive

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

Upgrading accross iOS4 -- App crashes on startup

Here's my Scenario:

  • I have an app currently in the marketplace, and installed on my phone.
  • I upgrade my phone from iOS3.x to iOS4
  • The existing app works fine
  • I am developing an update to the app with Titanium
  • When I try to install the Titanium app ontop of the existing app, the app crashes on startup every time.

The important factor here is the upgrade from iOS3.x to iOS4. I can install the updated app over the existing app perfectly fine on iOS3.x.

I should also note that doing a fresh install of the Titanium app on iOS4 work fine. It's just the upgrade from our previous app to this one on iOS4 that is broken.

This leads me to believe that it's Titanium trying to access the previous database or properties that's causing the crash.

I realize that Titanium doesn't officially support iOS4 yet, but is it possible to get a timeframe on when it will?

I would like to submit my updated app to the app store with iOS4 support, but all of our customers with the old app who upgrade to iOS4 and then upgrade our app will be "hosed" so-to-speak.

Is anyone seeing a similar issue? Are there any hotfixes that anyone knows of?

— asked June 11th 2010 by Brit Gardner
  • ios4
  • upgrade
0 Comments

2 Answers

  • Make sure you follow the changes Titanium recommends for iOS 4.0 compatibility: http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

    Also I found in my own testing, that on iOS 4 I had to fully uninstall from the device & reinstall the app whenever it was crashing as you described.

    — answered June 11th 2010 by Mike Robinson
    permalink
    1 Comment
    • Thanks Mike, I have definitely updated the necessary files as described in that blog post.

      Uninstalling and re-installing works fine for development, but I can't ask our users to uninstall the app and re-install to alleviate this problem. Many will update from the original app to my the new version, and if they are on iOS4, it will crash.

      — commented June 11th 2010 by Brit Gardner
  • This isn't good. Does the same thing happen in stimulator? Which iOS 4.0 beta are you using?

    — answered June 11th 2010 by Sj Singh
    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.