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?
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.
This isn't good. Does the same thing happen in stimulator? Which iOS 4.0 beta are you using?