I guess my general question which I googled to no luck: Is there a method that is called right after an app is updated?
More details: My situation is that I have a plist in the bundle. When a user first tries to access the plist, I check the Documents directory and if it’s not there, copy it from the bundle. This allows the user to overwrite with their data when necessary. However whenever I update the app, I need to have a NEW plist in the bundle which will overwrite the user’s existing plist in the Documents directory. Obviously I only want this to happen after an app update, not just every time the app is run. Is there an easy way to do this?
You can append the bundle version (CFBundleVersion) to the plist you want updated and dynamically load a depending on the bundle version stored in the apps info.plist.
So for version 1.3, you’d load your_plist.1.3.plist