Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 7 + coredata : cannot import module being compiled

I've created a new project using default settings and including core data.

In the app delegate I get this error

"cannot import module being compiled" with coredata highlighted. what can i do to fix this?

enter image description here

like image 205
hamobi Avatar asked Sep 19 '15 05:09

hamobi


1 Answers

This is happening because you project has the same name as the CoreData framework, try renaming your project and it should work.

like image 182
Jelly Avatar answered Nov 03 '22 23:11

Jelly