How to share generated core data classes with host and extension app?

If I'm using "class definition" mode to generate the core data classes from the model, I don't get to see the files. In that case, how do I share those files with the host app and extension app if the core data stuff is in a framework?