Cordova iOS error: CDV.h file not found


#1

Trying to build a meteor mobile app and I’m getting an error when compiling on Xcode:

error: ‘Cordova/CDV.h’ file not found

I’ve checked all libraries and search paths.
Getting the same error even on a fresh new Meteor project.

Xcode version: 9.4.1 (9F2000)
Meteor version: 1.6.1 and 1.7
Cordova version: 8.0.0

When run ‘cordova requirements’ I get everything installed.
I’ve tried almost everything to fix that.
Someone have any idea what’s going on and how can I fix it?


#2

Have you tried deleting .meteor/local folder and then rebuilding?


#3

Yes, I did.
Same problem.


#4

Anybody have any idea?
I really need to fix that ASAP.


#5

I resolved many problems with Xcode deleting all project and starting again. Xcode has someone cache of configs that broken my apps.

You can try start project on other folder.


#6

I am still having this exact problem. I have removed and installed many versions of XCode.

Can you elaborate on the solution?

I get CDV.h not found on brand new projects.