XCode - Copy sqlite DB from simulator and copy onto device for testing
Posted
by
Neal L
on Stack Overflow
See other posts from Stack Overflow
or by Neal L
Published on 2010-12-31T22:03:57Z
Indexed on
2011/01/02
4:54 UTC
Read the original article
Hit count: 320
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
© Stack Overflow or respective owner