Preventing erasure of user data while upgrading iO

2019-01-20 02:16发布

问题:

I want to upload a new beta version of my iOS application for beta testers group. Users save their data in the Documents folder. What do I need to do in order for users to upgrade their application without losing their data?

回答1:

The Documents directory is not overwritten when you update an app so as long as your data is compatible between versions, you shouldn't have to do anything special.

Alternatively, for developers, Xcode's Organizer allows you to extract the contents of an apps Documents directory easily.



回答2:

Downgrading iTunes to 7.7 seems solved the problem on Windows