更改模型后的核心数据迁移

Bal*_*cze 2 core-data ios

我已经改变了我的 Core Data 模型,几周后发现它会导致旧版本的应用程序崩溃。我收到错误:

Error Domain=NSCocoaErrorDomain Code=134140 "Persistent store migration failed, missing mapping model." 
Run Code Online (Sandbox Code Playgroud)

我的问题是我不记得在我的模型中更改任何内容,也不知道是什么导致了迁移问题。有什么办法可以让我找到这个,或者看看旧版本的模型?

(此时我的项目不受版本控制。)

小智 5

I had the same problem. I deleted the app from the simulator or physical device and installed it back.