I can't get Mogenerator 1.27 to generate the NSManagedObject classes as I'm getting this error:
Assertion failed: (momcTool && "momc not found"), function -[MOGeneratorApp setModel:], file /tmp/mogenerator-LDeD/mogenerator-1.27/mogenerator.m, line 643.
Abort trap: 6
I'm using this command:
mogenerator -m myApp/myModel.xcdatamodeld/myModel.xcdatamodel -O myApp/Model --template-var arc=true
The exact same command works on my old computer, but not on my new one with the same version of Mogenerator. Why would it not work on my new computer?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…