{
"$type": "site.standard.document",
"description": "During development of applications that uses Core Data on the iPhone, I find myself often wanting to delete the SQLite database file. This is",
"path": "/script-to-remove-core-data-sqlite-database-file-during-development-cycles/",
"publishedAt": "2010-01-15T02:23:00.000Z",
"site": "at://did:plc:bryys25pc2fnagnyxqgsglhd/site.standard.publication/3mn26bjkkmh23",
"tags": [
"Scripts",
"SQLite"
],
"textContent": "During development of applications that uses Core Data on the iPhone, I find myself often wanting to delete the SQLite database file. This is especially common in the earlier stage where the schema isn't finalized yet. Here's a script that helps with that, building on Craig Hockenberry's Open sesame script.\n\nSee http://gist.github.com/278281.\n\nSave the script as clearcoredata, make it executable. To delete the SQLite database file, run: clearcoredata <app name>.",
"title": "Script to Remove Core Data's SQLite Database File During Development Cycles"
}