bug: Cannot archive app in Xcode 7.1
Type: bug
Platform: ios 8 webview
Dear experts,
I have an issue that when I upgrade my Xcode to the latest version 7.1 and run ionic build ios successfully, I cannot archive app and publish to app store with issue "<Cordova/CDVViewCOntroller.h> file not found in MainViewController.h" or "<Cordova/CDVPlugin.h file not found in IonicKeyboard.h".
It successes if running the app on a simulator or in a testing device. The Cordova iOS version is 5.3.3 and Ionic is 1.7.7. I cannot find more information except the error message.
Thanks in advance if any clue.
Regards, Ke
Did you try this http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232 ?
have you tried the following ?
add $(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include to BuildSettings->Header Search Paths
http://stackoverflow.com/questions/12184767/phonegap-cdvviewcontroller-h-file-not-found-when-archiving-for-ios
@marcelfalliere It now works. Thanks a lot!
@root-io I tried this but not work for me. Anyhow, marcelfallierce's solution works. Thank you.
This solution is not working for me. Can you please help me?

I'm facing this bug still using xcode 8.2.1
plz help if you know a sloution
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.