Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Standalone .xcdatamodel not compiled. #870

Ashton-W opened this Issue Mar 17, 2013 · 4 comments


None yet
3 participants

Ashton-W commented Mar 17, 2013

CoreData models (.xcdatamodel) are only compiled if they are inside a container .xcdatamodeld.

I do not know the reason for having data models outside of a container, but I do have a non-pod dependency that has it, so I'm guessing it is a legacy thingy.

Once I find the pull request that added .xcdatamodeld compilation, I'll add it to this issue.


Ashton-W commented Mar 17, 2013


fabiopelosin commented May 22, 2013

I'm closing this issue as a corner case. Please feel free to submit a pull request if you need support for this specific feature.

How should I do for .xcdatamodel now?


Ashton-W commented Jun 6, 2013

Your best bet is to create a new data model with the same name, which will be an .xcdatamodeld package, place the .xcdatamodel inside and set it as the current model version. You may need to restart xcode to get it to detect the file changes.

You will need to be able to fork or otherwise maintain your own version to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment