Ary Ary - 1 month ago 76
iOS Question

Error building ios with cordova

I have a problem when I build the ios platform with cordova. I have all the certificates for de app and for the 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

This path is written in config.xml file.

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.

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:

Source path does not exist: resources/ios/icon/icon-40@2x.png

This happened after upgrading to Cordova 6.3.0 and I've solved it downgrading Cordova.

Quickfix for now:

npm uninstall -g cordova
npm install -g cordova@6.2.0