Question

I have a model that I created a long time ago. Everything works great, until I try to add a new model version. At runtime none of my attributes' User info key/value pairs show up. Reverting back to the previous xcdatamodel version works fine, only the new xcdatamodel doesn't work.

The User Info keys show up in the editor, but at runtime they do not appear. The - (NSDictionary *)userInfo on NSPropertyDescription returns an empty dictionary every time. This happens on all my entities if I change any user info key. If I create a new model version it works fine, until I mutate the User Info collection in the editor.

Was it helpful?

Solution

Yup, I had the same problem. See http://twoshotsofcocoa.com/?p=51 for the solution.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top