What’s fastest way to re-test iPhone core data migration to a new version?
That is, how would one set up an easy/quick way to:
- set up older version of app on simulator
- run the new version of the app from Xcode which will as part of running it on the simulator effectively run the migration
BACKGROUND- haven’t had to do a migration yet. It’s not to me in Xcode how to do the first bullet in particular. Would one use a previous image/snapshot as part of the approach?
What I always did is:
/Users/username/Library/Application Support/iPhone Simulator/4.3.2/notice the iOS version number, its the one you’re using in the simulator.sqlitedatabase file (as long as you haven’t changed the directory in code)(the hash may change when you delete and rebuild your app)