Can I view data stored in Core Data based on iphone development?

Is there any way to capture / view the coredata db file (sqlite repository) from developing iphone via xcode or any other means? Although I managed to check the db created using the simulator on my mac, I would like to check what is on the phone itself (without the need to create debug views in the application, etc.), since I read the sensor data and store it in coredata.

+3
source share
2 answers

Yes, you can use the Xcode organizer. Select the phone, then the application, and you can export and import files from / to the sandbox http://developer.apple.com/library/ios/recipes/xcode_help-devices_organizer/articles/copy_app_data_from_sandbox.html#//apple_ref/doc/uid / TP40010392-CH14-SW1

+2
source

I'm not sure if there is an official way to do this, but I use a piece of software called iExplorer before iPhone Explorer. http://www.macroplant.com/iexplorer/

Then you can browse the application directory, similar to the simulator, and find your application and go to the document directory and capture the sqlite file.

Hope this helps

+1
source

All Articles