XCode - Copy sqlite DB from simulator and copy onto device for testing
- by Neal L
Hello,
I am working on a Core Data app, and have populated the sqlite file in the iPhone Simulator with all of the fixtures/data that I use to test the app. I would like to use that sqlite file as a standardized set of testing data.
The devices that I test the app on all have different data sets, and I would like to standardize on the one in the simulator.
Is there a way in XCode (3 or 4) to add a step to the build/install process that will copy the sqlite file from the iPhone Simulator and install it over the file on the phone (if one exists)?
Thanks,
Neal