【发布时间】:2017-05-17 04:17:34
【问题描述】:
我收到如下崩溃报告:
Migration is required due to the following errors: - Property 'UserProfile.interfaceLanguage' has been added.
我大致了解如何执行迁移,但我不知道添加属性时需要什么。 interfaceLanguage 不是应用程序运行的严格要求,最终会从服务器获取。我想我可以在迁移期间将其设置为某个值,但这似乎有点毫无意义。
另外,我还以为这个case默认处理了:https://realm.io/docs/swift/latest/#migrations
if (oldSchemaVersion
【问题讨论】:
标签: objective-c realm realm-migration