ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Cannot archive app in Xcode 7.1

Open and1985129 opened this issue 11 years ago • 7 comments

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

and1985129 avatar Oct 29 '15 02:10 and1985129

Did you try this http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232 ?

root-io avatar Oct 29 '15 13:10 root-io

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

fredericfalliere avatar Oct 29 '15 19:10 fredericfalliere

@marcelfalliere It now works. Thanks a lot!

and1985129 avatar Oct 30 '15 09:10 and1985129

@root-io I tried this but not work for me. Anyhow, marcelfallierce's solution works. Thank you.

and1985129 avatar Oct 30 '15 09:10 and1985129

This solution is not working for me. Can you please help me? screen shot 2016-03-30 at 10 14 08 am

abacusdesk avatar Mar 30 '16 04:03 abacusdesk

I'm facing this bug still using xcode 8.2.1

plz help if you know a sloution

lisaiceland avatar Mar 20 '17 22:03 lisaiceland

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.

ionitron-bot[bot] avatar Sep 03 '18 16:09 ionitron-bot[bot]