Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mogenerator --configuration does nothing now #394

Open
mulle-nat opened this issue Sep 19, 2023 · 1 comment
Open

mogenerator --configuration does nothing now #394

mulle-nat opened this issue Sep 19, 2023 · 1 comment

Comments

@mulle-nat
Copy link

Question

I came back to an old project, which uses mogenerator with the --configuration option to create different kinds of classes. This isn't working anymore though nothing has changed, except for a newer mogenerator version installed by brew. When I remove the --configuration <name> from the call (see below), classes are created. The configuration in the model file still exist (here is a small example from the much larger file):

    ...
    <entity name="XEKEvent" representedClassName="XEKEvent" syncable="YES">
        <attribute name="ekIdentifier" optional="YES" attributeType="String" indexed="YES" syncable="YES"/>
        <attribute name="ekModificationDate" optional="YES" attributeType="Date" indexed="YES" syncable="YES"/>
    </entity>
    ...
    <configuration name="XEK">
        <memberEntity name="XEKEvent"/>
    </configuration>
    ...

The question is, is this known ? Has something changed, so I need to do something more ?

Expected Behavior

Some stuff should be generated.

Actual Behavior

No stuff was generated.

Additional Information

mogenerator --configuration XEK -m ../XEKModel.xcdatamodeld -H . -M ./Generated\ Bases --template-path ../mogenerator\ Templates
@mulle-nat
Copy link
Author

Can't reproduce this anymore. No idea what happened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant