shallowThought shallowThought - 1 year ago 71
iOS Question

How to get Core Datas sqlite store file for iMessage extension

We are developing an iMessage extension. It uses Core Data successfully. We need to evaluate the store.sqlite file, but can not find it.

We try to find it like this:

  • In Xcode: Window -> Devices

  • In
    Installed Apps
    , select our extension

  • Download Container ...

But the container is empty:

Question: where to find store.sqlite file?


Extensiton seem to default write to


Answer Source

The actual sqlite file is likely to be in a shared container.

What works for me is to log the store URL and use that to locate it:


Yields something like


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download