How can I check what is stored in my Core Data Database?

后端 未结 17 2202
北恋
北恋 2020-12-12 14:35

I am making an app that relies on Core Data. I am able to enter data into a text field and store it.

But I need to know if the data is being stored.

I am try

17条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-12 14:47

    As Far as macOS Sierra version 10.12.2 and XCode 8 is concerned

    The folder should be here:

    /Users/$username$/Library/Developer/CoreSimulator/Devices/$DeviceID$/data/Containers/Data/Application/$ApplicationID$/Library/Application Support/xyz.sqlite

    To get the device id - Open terminal and paste:

    instruments -s devices

提交回复
热议问题