views:

10

answers:

1

I have a xcode project with multiple targets (for logic and app unit tests).

I am also using core data with the mogenerator plugin to autogenerate source files from the .xcdatamodel.

The generate files are not being generated with any of the "target" flags selected. This causes build errors.

Is anyone aware of a solution to this. I would like to be able to indicate which targets the generated files should be included in.

A: 

I figured this one out. You can specify the target of the .xcdatamodel file using "Get Info". Whatever targets are specified for the model are also specified for the generated files.

Mike