-->

Is device deployment enough to simulate applicatio

2020-07-18 10:18发布

问题:

The application update process via app store (on the device by a lambda user) is not very well documented. I've sum up all this to these questions :

  • what happens when the user updates his app? Is everything erased, or just some part of the app?
  • so what is kept, what is not kept?
  • how to test the application update in a development environment ?

回答1:

  • when user updates an app, Documents folder is stored as is, including NSUserDefaults (but, sometimes user download app via iTunes and replace the whole application, crying 'OMG! update killed all my levels progress!');
  • Application bundle is erased and replaced by new one (anyway, it is readonly for user);
  • Re-deployment of new build version will be enough;


标签: iphone