Pauli
Pauli

Reputation: 363

What to consider on app updates?

I wonder if there is any kind of good documentation or tutorial for what to consider when updating an iOS app to a new version? I think especially of the following questions:

Upvotes: 0

Views: 58

Answers (1)

Calin Chitu
Calin Chitu

Reputation: 1099

When I do my updates I usually:

  • prepare the update in iTunes connect
  • update version/build in xcode
  • for specific update code I simply do in appdelegate - didfinishlaunchwithoptions:

    if(![[NSUserDefaults standardUserDefaults] objectForKey:@"updateV31"]) { [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"updateV31"]; [[NSUserDefaults standardUserDefaults] synchronize]; //your code here }

  • for core data, you can use the lightweit migration method, I didn't have issues so far after updates

  • for tests, download the current version from the appstore, then add the new version from xcode to your device, it will come as an update over existing app

Upvotes: 1

Related Questions