美文网首页
iOS/OC: reason = "The mode

iOS/OC: reason = "The mode

作者: 疯狂的向日葵 | 来源:发表于2016-04-18 19:47 被阅读86次

用coredata里面添加了新的表,直接调试会报错
一大堆错误
...
reason = "The model used to open the store is incompatible with the one used to create the store"
reason = 用来打开存储的模型和用来创建存储的模型不兼
解决方法:

Remove the app from the simulator and perform a clean on your project. That should clear those issues up. Make sure that you are not running in the debugger when you delete the app or else it won't actually delete it properly.

把app从模拟器上删除,清理项目,重新调试。

详见stackoverflow :
The model used to open the store is incompatible with the one used to create the store

相关文章

网友评论

      本文标题:iOS/OC: reason = "The mode

      本文链接:https://www.haomeiwen.com/subject/pdyalttx.html