I need to delete my persistent store (doing it object by object is not practical because I have over 100,000 objects). I\'ve tried this:
- (IBAction)resetDatabas
You need to make sure that any managed object context attached to the persistent store have been released before you try to delete the store. Otherwise, the context will evoke that error.