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.
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.
I am experiencing the same thing right now. My first update went live yesterday, and I've already received e-mails from customers who have lost their data. This is not good.
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.
My users updated via iTunes. BTW, one user was able to get their data back this way...
I restored my iPod using a backup made before I downloaded your update. Then I decided to download it again on my iPod rather than using iTunes on my computer as I had the first time. It WORKED and I didn't lose my data this time.
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.
I was thinking of doing the same, but didn't want to open up the whole world of complexity/privacy issues that would bring. It'd be nice if it just worked.
How about a bonjour based backup system with open hooks so any developer that wants to connect into it can broadcast for the bonjour backup system and send and receive files to it. One desktop app for all users this way instead of dozens.
To those devs who were experiencing this problem, how was the reportedly lost data stored? Was this stored in NSUserDefaults, or as a SQL file? Anything stored in NSUserDefaults should IMO be considered disposable.
My app's data is stored in its sandboxed documents folder, not using NSUserDefaults. I've had no reports of this problem in a while, but I have not released an app update in a while either, so there's not any correlation I can really make.
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.