Delete persistent storage on disk (after calling -[NSPersistentStoreCoordinator removePersistentStore:error:]for any permanent storage coordinator that references the storage). You probably also want to reset any instances NSManagedObjectContextthat can have instances of object instances from this repository before deleting and deleting the repository on disk.
source
share