Cordova应用程序无法使用Xcode 7.1进行存档(找不到Cordova / CDVViewController.h文件) [英] Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)

查看:250
本文介绍了Cordova应用程序无法使用Xcode 7.1进行存档(找不到Cordova / CDVViewController.h文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将Xcode更新为7.1版(7.0.1版),而我的Cordova应用程式无法封存档案,并显示以下错误:


在MainViewController.h档案中找不到「Cordova / CDVViewController.h」档案



$ b

在StackOverflow和其他地方搜索解决方案建议从$(OBJROOT)/ UninstalledProducts / include设置项目的头文件搜索路径 code>$(OBJROOT)/ UninstalledProducts / $(PLATFORM_NAME)/ include似乎解决了很多人的问题。但是,这没有解决我的问题。



有什么可能是错误?我在更新Xcode之前从未遇到过这样的问题。



关联屏幕截图:


I've recently updated my Xcode to version 7.1 (from 7.0.1) and my Cordova app is failing to Archive with the error that says:

'Cordova/CDVViewController.h' file not found

in MainViewController.h file.

Searching through solutions on StackOverflow and elsewhere suggests that setting the project's Header Search Path from "$(OBJROOT)/UninstalledProducts/include"to "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" seems to solve the issue for a lot of people. However, this did not resolve the issue for me.

Is there anything that could be amiss? I never encountered a problem like this prior to updating Xcode.

Associated screenshot:

UPDATE: It seems like updating my Mac OS X to El Capitan might have fixed this problem as I no longer get it. At the time of posting this question, I was on Yosemite. Hope this helps anyone encountering the same issue

解决方案

This is a problem with 7.1 check out this thread which may help (on the ionic forums but isn't an ionic specific issue, it's Cordova with XCode 7.1) http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232

这篇关于Cordova应用程序无法使用Xcode 7.1进行存档(找不到Cordova / CDVViewController.h文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆