rnystrom / Swift-CoreData

An extremely simple Core Data backed Swift app
55 stars 9 forks source link

could not locate an entity named 'XX' in this model. #1

Open foxling opened 10 years ago

foxling commented 10 years ago

add multiple Entity and add some attributes, when running on my iPhone 5s (iOS7): *\ Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could not locate an entity named 'Kid' in this model.'

raheelahmad commented 10 years ago

@foxling are you supplying the class name properly in the model: https://github.com/rnystrom/Swift-CoreData/blob/master/README.md?