Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

See or retrieve a Core Data .sqlite file from a device

Tags:

ios

core-data

How can I actually get to see the .sqlite file for the Core Data store on a real device (not simulator)? Are there tools that allow you see the Core Data information?

like image 299
Bor is Avatar asked Jan 30 '26 02:01

Bor is


1 Answers

In Xcode:

  1. Open the Devices window (shift-cmd-2)
  2. Select your device from the list on the left
  3. Select your app from the "Installed Apps" list
  4. Click the gear icon at the bottom of the "Installed Apps" list
  5. Select "Download container"
  6. Save the container somewhere
  7. Xcode will open the container location in under. Ctrl-click on the container and select "Show package contents"
  8. You can now open the documents folder and see your app's files.
like image 184
Paulw11 Avatar answered Jan 31 '26 20:01

Paulw11



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!