I’m currently using Cordova 3.0 to develop an iOS App in XCode. The app builds and runs fine in the emulator and also on the testing devices.
The problem appears when I try to archive the app for distribution. The archive fails with the following message:
CDVViewController.h file not found.
To solve you have to add this lines in Header Search Paths:
$(OBJROOT)/UninstalledProducts/includeto BuildSettings->Header Search Paths
$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/includeto BuildSettings->Header Search Paths