Search code examples
ioscore-datacore-data-migration

See the core data table in Device


In my App am using core data to store the data. Now I need to do the core data migration. To check the core data migration done properly I want to see the core data table is there any way to do that ?


Solution

  • If you connect your device to your computer and open Organizer in Xcode, you can copy the database file from your device and inspect it using your favorite tool.

    1. Connect your device to your computer
    2. Open Xcode->Organizer
    3. From the Devices tab select Applications (under your connected device)
    4. At the bottom there is a section called "Data files in sandbox"
    5. Click "Download" to copy files to your computer