Data loss after updates

Just a heads up for anybody with an app in the store that saves any kind of data to its documents directory. My first update was posted to the store today, and I have had a few users report that their data is lost after an update. I know that this does not always happen, as I was able to update the app on my personal phone (using the App Store app on the phone) without losing data, but at least one user followed the exact same process and did lose their data.

Posted on Jul 28, 2008 6:37 PM

Reply
37 replies

Jul 28, 2008 7:17 PM in response to admanimal

Yep, I've had some users report the same issue. It seems to me to be similar to the issue of applications not getting installed correctly and quitting when user launches them.

If users make a backup of their backup, then they can restore the backup's backup and try updating again.

Backups are located in ~/Library/ApplicationSupport/mobilesync on the Mac. I dunno about Windows.

Jul 31, 2008 4:58 AM in response to admanimal

Is anyone else still seeing this happen with their app? I've spoken to another developer who is reporting his NSUserDefaults preferences disappeared after he downloaded an update to his own app from the App Store.

I'm continuing to get user reports of this, though not all users experience it, and I can't think of any way to simulate this myself to try and figure out what conditions most likely cause it.

Jul 31, 2008 5:43 AM in response to Mark Krenek

Thanks for the sort-of workaround, though it's not a pleasant one, and a bit time consuming.

I guess the majority of the iPhone/iPod touch apps are stateless, thus this isn't a huge deal for them, however my app is completely based around the users entering and managing data on their device, so this is a *catastrophic data loss* bug for me, it's making me look bad, and it's eroding my users trust.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Data loss after updates

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.