'Fatal Exception: NSInternalInconsistencyException - Xcode
for a Customer I should fix two crashes with CoreData.
This NSPersistentStoreCoordinator has no persistent stores (schema mismatch or migration failure). It cannot perform a save operation.
This NSPersistentStoreCoordinator has no persistent stores (disk full). It cannot perform a save operation.
There are no differences in the entities, the model is the same: I cannot reproduce the crash that I look on Firebase.
Everything seems correct: I have experience with coredata and have checked every possible problem of Migration, etc.
Any suggestion?
Solution 1:[1]
Could the singleton give me a problem? That is, it might be different to declare "var singleton = XXX.shared" and use like singleton.context instead of "XXX.shared.delete()"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | weso |
