While building my project for different target I am getting this error:
Could not determine generated file paths for Core Data code generation: Er
Similar to shallowThought's answer, I found I had to first uncheck the target, and then re-check it, and then re-build.