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
Update - 03-08-2017
> ionic cordova resources
Old CLI command:
I had the same error, and after re-running ionic resources
it went away.
The problem was that I had Windows-style slashes (backslashes) in the path of the icon, i.e. the error I had was this:
Error: Source path does not exist: resources\ios\icon\icon-40.png
So, converting backslashes into slashes resolved it for me.
Update: And regarding your second error, it helped me to reset the state:
ionic state reset
Make sure you have ios
listed under cordovaPlatforms
in your package.json
before running this command. Then ionic
automatically re-downloads your plugins afresh and is ready to build.
Hope that helps. Take care!