CoreData – looking into data from command line during iPhone Simulator execution
If you want to examine your CoreData tables you can easily achieve this via sqlite3.
Open your iPhone simulator directory
/Users/$USER/Library/Application\ Support/\ iPhone\ Simulator/$IPHONE_SIMULATOR_VERSION/Applications
Find database file
find . -name "*.sqlite"
Open this file with sqlite3
sqlite3 $WHATEVER_FILE_NAME_IS
List tables
select name from sqlite_master where type = 'table';
Get detailed information regarding given table
PRAGMA table_info($TABLE_NAME_GOES_HERE);
August 19th, 2011 in
main entries