-
Notifications
You must be signed in to change notification settings - Fork 395
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
Current Product Module avoid Human generation with Swift #339
Comments
I am seeing this issue as well. I wanted to share my workaround in the event someone else is running in to it. I am running
I don't recall when I first ran mogenerator, but it ran OK back then. I have existing classes like I recently had to change my data model, which meant I needed to generate the entity code again. When I ran My workaround: I deleted all of the bad Human classes with the leading |
I've also encountered the issue, which is a problem because the generated classes are in their own framework and without the current module setting they collide with some objc names in the global namespace. Setting the @objc(name) can fix that but then screws up some other frameworks expecting the class name to match (core data is obviously using the objc runtime to get class information in places). Xcode 10.1, mogenerator 1.32 |
By setting class part of
Current Produc Module
, the human version of the class is not well generated.Expected Behavior
Having the regular generation.
Actual Behavior
Classes are generated with a
.
as prefix and the project does not compile.For example:
Additional Information
OSX 10.11.5 Xcode 7.3.1 mogenerator 1.30.1
The text was updated successfully, but these errors were encountered: