Been having my first crack at Core Data and I\'m getting the following error when running my code on my device, but it works fine on the simulator..
*
i got same issue with @Dominic Williams
try to change the momd file name in below(you can find this in managedObjectModel
method in default), which as same as the [file name].xcdatamodeld
file you created:
NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"[same with name of xcdatamodeld]" withExtension:@"momd"];