Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect header generated #93
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
Indeed, the template has:
Did I miss anything?
I invoke mogenerator with this script line:
If I "fix" the template (adding a
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...