Question

This question already has an answer here:

i have a problem with saving data with CoreData.

In my app iam scanning a barcode and show the barcode in an View. On this View is a saveButton. I want to save the Data with coreData but my app crashes.

i get this error:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could not locate an NSManagedObjectModel for entity name 'Event''

I have worked out a lot of tutorials but it doesnt work. i cant include it to my project :(

Now i want to start it again.

Can someone help my at first to get working the savebutton step by step?

brush51

Was it helpful?

Solution

check that link, and see if helps?! let me know if this is the right solution?!

Core-Data iPhone: could not locate an NSManagedObjectModel

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