Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

luke3

macrumors newbie
Original poster
Jun 6, 2012
23
0
Hello everyone,

I am getting a really weird crash in my app that is using core data. The app runs fine in the ipad simulator, but on the device it crashes... I am getting the error

NSInvalidArgumentException', reason: 'to-many key not allowed here'
*** First throw call stack:

I know the error is talking about if you are trying to sort on a one to many relationship entity. But I know I am not.

Any suggestions?
 

luke3

macrumors newbie
Original poster
Jun 6, 2012
23
0
Hello everyone,

I am getting a really weird crash in my app that is using core data. The app runs fine in the ipad simulator, but on the device it crashes... I am getting the error

NSInvalidArgumentException', reason: 'to-many key not allowed here'
*** First throw call stack:

I know the error is talking about if you are trying to sort on a one to many relationship entity. But I know I am not.

Any suggestions?

Issue resolved. A file was missing from the project,
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.