xcode7.1 cordova 打包的工程 报错 error--> cordova/CDVViewController.h

本文介绍了一个在使用Xcode 7.1进行工程归档时遇到Cordova/CDVViewController.h文件未找到的问题,并提供了通过调整HeaderSearchPaths设置来解决该问题的方法。特别关注了此错误可能与tvOS相关,Apple已将不同平台的归档中间文件分开以适应统一构建。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天用xcode 7.1 archive 一个工程 报错: 

 error--> cordova/CDVViewController.h 

找到别人的一个解决方法

http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232/5


Add this line to your Build Settings -> Header Search Paths:

"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"

Don't replace the existing line that looks similar, that is still needed to be backwards compatible with Xcode 7 and Xcode 6.4.

This probably had something to do with tvOS, I reckon -- Apple had to separate the archive intermediates by platform for universal builds.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值