Get a copy of SQLite DB from device

I am having to debug / test on an actual iOS device, as I am messing around with the camera.


I am throwing out debug info to a CoreData (sqlite) DB, which is obviously stored on the device. When running in the Simulator, I have found the path to copy this file, that I can then use a SQLite viewer on a Mac to interpret, query, etc.


How can I do the same when using an actual iOS device?


Thanks

Accepted Answer

With that device connected to Xcode, use the Window/Devices and Simulators menu, then see if it's in that app's container.

Get a copy of SQLite DB from device
 
 
Q