Core data crash on device not on simulator

Discussion in 'iOS Programming' started by luke3, Jul 8, 2012.

  1. luke3 macrumors newbie

    Jun 6, 2012
    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?
  2. luke3 thread starter macrumors newbie

    Jun 6, 2012
    Issue resolved. A file was missing from the project,

Share This Page