在归档iOS时找不到Phonegap CDVViewController.h文件 [英] Phonegap CDVViewController.h file not found when Archiving for iOS

查看:609
本文介绍了在归档iOS时找不到Phonegap CDVViewController.h文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用Phonegap 2.0在XCode中开发iOS应用程式。该应用程序在仿真器和测试设备上构建和运行良好。



当我尝试将应用程序归档以进行分发时,会出现此问题。存档失败,并显示以下消息:



没有找到CDVViewController.h文件。



p>

解决方案

Xcode 6.x



add $(OBJROOT)/ UninstalledProducts / include 到BuildSettings->标题搜索路径



Xcode 7.x



向BuildSettings-添加 $(OBJROOT)/ UninstalledProducts / $(PLATFORM_NAME)/ include 标题搜索路径



1.双击< multiple values> ,然后将其添加。 p>

2.更改 $(OBJROOT)/卸载的产品/ include $(OBJROOT)/卸载的产品/ $(PLATFORM_NAME)/ include




I'm currently using Phonegap 2.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.

Any ideas?

解决方案

Xcode 6.x

add $(OBJROOT)/UninstalledProducts/include to BuildSettings->Header Search Paths

Xcode 7.x

add $(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include to BuildSettings->Header Search Paths

1.Double click the <multiple values> and you can add this in.

2.Change $(OBJROOT)/UninstalledProducts/include to $(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include

这篇关于在归档iOS时找不到Phonegap CDVViewController.h文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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