Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot load module coreData as CoreData

I get this error on my app delegate where I import CoreData. From what I've read, it is because I named a project coreData. However I changed the name of the project, then deleted it, and I've deleted everything inside /Library/Developer/Xcode/DerivedData. If I create a project with CoreData, I get the same error. I have also deleted the contents of /var/folders/

Any info on how to fix this?

(Xcode 7.2)

like image 209
Useful_Investigator Avatar asked Dec 10 '22 15:12

Useful_Investigator


1 Answers

You have a namespace clash with apples own CoreData framework. Rename your project or create a new one with a different name and move your files across.

like image 58
DavidA Avatar answered Jan 25 '23 11:01

DavidA