Core Data: Keypath Error Not Found in Entity

后端 未结 4 1085
陌清茗
陌清茗 2021-02-19 02:05

Could any one tell me what\'s the wrong with this code? It raises the following error and cause application to crash:

reason: \'keypath Studies.patients.Patient         


        
4条回答
  •  太阳男子
    2021-02-19 02:49

    Usually when I see this error it means that I added a new Version to my Model but forgot to update the Current Model Version for the project.

    Posting this answer to help my future self because it's not the first time I have landed on this page!

提交回复
热议问题