我的日志中有一个奇怪的错误,我不确定需要检查什么。
Invalid value for key 'relatedByAttribute' in 'WorkoutEntity' entity. Remove this key or add attribute
这是我在 WorkoutEntity
中使用 latedByAttribute
的地方
您知道我还可以检查什么来发现问题吗?
最佳答案
我也遇到了同样的问题。就我而言,我使用外部编辑器打开 .xcdatamodeld,查找“latedByAttribute”标签,发现该标签是“latedByAttribute”(注意空格)。 删除空白并从那时起开始工作。 我希望这对你有好处! ;)
关于ios - MagicalRecord 抛出 relatedByAttribute 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55596930/