I'm using Xcode 7.2 on OSX 10.11.3. I couldn't build and run a project which uses CoreData.
I have come across this SO question, but it doesn't seem to work for me. I have changed the file's name by hand and the error still persisted.
These are my screenshots:
I have changed the filename
The error persists
P/S: I disabled the System Integrity Protection by using this command csrutil enable --without debug
to make the Xfinder plugin works on my computer. I also tried to reenable but still no luck. I'm not sure if it has anything to do with the error.