I'm trying to get mogenerator (1.26 latest) to generate some boiler plate classes from a core data model (xcdatamodel) and it reports:
No entities found in model. No files will be generated.
(model description: (<NSManagedObjectModel: 0x10012e410>) isEditable 1, entities {
}, fetch request templates {
})
Even though the contents of the xcdatamodel clearly exist
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model name="" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1487" systemVersion="11E53" minimumToolsVersion="Xcode 4.3" macOSVersion="Automatic" iOSVersion="Automatic">
<entity name="Chair" representedClassName="Chair" syncable="YES">
<attribute name="name" attributeType="String" maxValueString="50" syncable="YES"/>
</entity>
...
What am I doing wrong?
I am using Xcode 4.4.1 and mogenerator 1.26
This is a quote from http://raptureinvenice.com/getting-started-with-mogenerator/
When you create entities in your data model, be sure to populate the “Class” field with the same name as the entity.
So what you have to do is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With