C.Johns
C.Johns

Reputation: 10245

Misconfigured property in core data entities

I have tried to create 3 entities in my core datas xcdatamodeld file however after my first entity was created the next two are having the same problem.

misconfigured property ** must have a defined type

just woundering what it is Im doing wrong?

Upvotes: 1

Views: 2127

Answers (2)

ozzy
ozzy

Reputation: 21

I just went through something like this. I had defined all inverse relationships, and there were still warnings about them not being set.

I had a peek in the contents file (inside .xcdatamodelid->.xcdatamodel), and there weren't any duplicates. So, I quit XCode and restarted it. The warnings were gone.

Upvotes: 2

C.Johns
C.Johns

Reputation: 10245

In the end I fixed this by deleting the xcdatamodeld file and creating a new one with all the same objects and this worked fine for me.

It seems that xcode went abit crazy.

Upvotes: 0

Related Questions