Search code examples
ioscordova

Error building ios with cordova


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/[email protected]

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.


Solution

  • I've had same error only with other image:

    Source path does not exist: resources/ios/icon/[email protected]

    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 [email protected]