I have created a brand new core data model for my project and I want to create some NSManagedObject Subclasses for it. After generating subclasses XCode throws some errors that reference a path to the `/DerivedData` folder. See my steps below and image of the error:

[![enter image description here](https://i.stack.imgur.com/LHbQ6.png)](https://i.stack.imgur.com/LHbQ6.png)
[![enter image description here](https://i.stack.imgur.com/eqYfe.png)](https://i.stack.imgur.com/eqYfe.png)
[![enter image description here](https://i.stack.imgur.com/IYmil.png)](https://i.stack.imgur.com/IYmil.png)

I have already tried clean building, clearing the DerivedData folder, all that hoo-haa. I've also tried creating the generated files manually but I still get the same errors. Has anybody managed to get around this?