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

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

问题描述

我目前正在使用 Phonegap 2.0 在 XCode 中开发 iOS 应用程序.该应用可以在模拟器和测试设备上正常构建和运行.

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 文件.

CDVViewController.h file not found.

有什么想法吗?

推荐答案

Xcode 6.x

$(OBJROOT)/UninstalledProducts/include 添加到 BuildSettings->Header Search Paths

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

Xcode 7.x

$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include 添加到 BuildSettings->Header Search Paths

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

1.双击,即可添加.

2.将 $(OBJROOT)/UninstalledProducts/include 改为 $(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include

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

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