In iOS, I update 7.2. I\'m able to build my existing project to my device with no problem. When it came time to archive the project to prepare for submission to the app sto
After trying every solution with no success I ran:
cordova platform update ios
This fixed it for me. (XCODE 7.3.1, Cordova 6.3.0)
Reference: Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)
I was using xcode 7.3 and I was having the same problem. In my case the error was due to an error that was happening when executing "cordova platform add ios", an error was ocurring because an image couldn't be found in res folder and this was avoiding cordova platform add ios to finish correctly.
I faced this issue when I removed and re-added the project, some resources files such as icons or splashes screen not found made the project doesn't create at all.
The following screenshot demonstrates what you should see in Xcode 7.2 after following steps 1 to 6 (the line highlighted in blue displays the added configuration):
The CDV.h file is present in CordovaLib/CordovaLib.xcodeproj/public. You can give this path and worked for me.
I don't know how to give relative path. So I dragged/dropped the file and put it in ""
with #import
like:
#import "dragged file full path"
I had the same issue so i just removed <icon src="icon.png" />
from config file. then I removed&affffded IOS platform using cordova platform remove ios
then cordova platform add ios