致命例外:nsinternalInconSistencyException -xcode

发布于 2025-01-30 08:30:28 字数 290 浏览 1 评论 0原文

对于客户,我应该与Coredata修复两次崩溃。

  • 此NspersistentStoreCoordinator没有持久的商店(模式不匹配或迁移失败)。它无法执行保存操作。

  • 此nspersistentStoreCoordinator没有持久的商店(磁盘完整)。它无法执行保存操作。

实体没有差异,该模型是相同的:我无法重现我在火箱上看的崩溃。

一切似乎都正确:我有Coredata的经验,并检查了所有可能的迁移问题等。

有什么建议吗?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等你爱我 2025-02-06 08:30:28

辛格尔顿可以给我一个问题吗?
也就是说,声明可能有所不同
“ var singleton = xxx.shared”,并像singleton.context一样使用,而不是“ xxx.shared.delete()”

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()"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文