从Appstore更新应用程序后,它总是崩溃。我得到的错误是,
The model used to open the store is incompatible with the one used to create the store already updated app
为了解决这个问题,我遵循了this post中解释的步骤。修复之后,我面临新的错误,
Can't find model for source store.
在我的应用程序的更新版本中,我只是将一些属性从
integer 16
更改为integer 32
,仅此而已。我不知道有其他解决方法可以解决我的用户遇到的此崩溃问题。如果用户删除了较旧版本的应用程序,然后安装了最新版本,则可以正常运行。关于如何解决崩溃的任何指示?
最佳答案
您需要通过版本控制将核心数据迁移到较新的模型。请参阅链接http://9elements.com/io/index.php/customizing-core-data-migrations/
关于ios - 从应用商店更新后,应用崩溃并显示SQLite错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22937000/