I’ve got an iPhone app under development that I plan on using for research purposes. As testers use the app on my development phone, it stores analytics data in a local database (right now SQLite, but I’m not opposed to migrating to CoreData).
After testing is done, I need to be able to copy this analytics database off of the phone onto my computer so I can run queries on the data. What is the easiest way to accomplish this? If necessary I’ll iterate through the data, print it to the device log, and then import it back into a database on the desktop, but I’d like to find a way to just grab the .sqlite file without running it through an intermediary format.
You can use the Xcode Organizer to download a zipped snapshot of your app’s Documents and Library directories from your device.