问题描述
我在使用cordova构建ios平台时遇到问题。我有应用程序和设备的所有证书,但是当我尝试在我的ios设备上运行,离子运行ios,控制台返回这个错误:
I have a problem when I build the ios platform with cordova. I have all the certificates for the app and device, but when I try to run in my ios device, doing ionic run ios, the console return this error:
Error: Source path does not exist: resources/ios/icon/icon-40@3x.png
这个路径写在config.xml文件中。
This path is written in config.xml file.
我试图在xCode中运行它,但问题是:
I tried to run it in xCode but the problem there was:
Cordova/CDVViewController.h not found
我读了很多可能的解决方案,但任何为我工作。
I read a lot of possible solutions but any works for me.
我的xCode版本是7.3.1,cordova版本是6.3.0和
My xCode version is 7.3.1, the cordova version is 6.3.0 and the cordova ios version is 4.2.0.
推荐答案
我只遇到了与其他图片相同的错误:
I've had same error only with other image:
这发生在升级到 Cordova 6.3.0
后,我已经解决了它降级 Cordova
。
This happened after upgrading to Cordova 6.3.0
and I've solved it downgrading Cordova
.
Quickfix现在:
Quickfix for now:
npm uninstall -g cordova
npm install -g cordova@6.2.0
这篇关于使用cordova构建ios时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!