-
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
Incorrect header generated #93
Comments
If I "fix" the template (adding a
Where the So I add the missing I forgot to mention this is with Xcode 4.4dp1 |
Make sure you're using the latest mogenerator via |
The lines I quoted are straight from github. As I wrote, I just upgraded to 1.25 (using homebrew). It turns out that when you do that, the homebrew version doesn't replace the previously installed version. So 1.24 was still being run! (I had previously installed 1.24 using the installer). The only suggestion I have to prevent that from happening, is to tag the templates with the version of mogenerator they are supposed to run with, and for mogenerator to check and warn if it finds a discrepancy. Of course, this is an edge case... |
Eventually the default templates will be built into the mogenerator binary (#79) so this won't be an issue in the future. |
Hi,
I just upgraded to 1.25 and started a new project, where the generated machine headers are wrong. For String and Date attributes, mogenerator generates:
Where clearly a space and a
*
is missing.Indeed, the template has:
Did I miss anything?
I invoke mogenerator with this script line:
Thanks
The text was updated successfully, but these errors were encountered: