0

i build an app using phonegap and trying to do a build as follows

Cordova ios build 

it ends up with

VSKUMAR-mac:ios vskumar$ cordova build ios
Error: Source path does not exist: icon.png

my config.xml has an entry like

  <icon src="icon.png" />

And the /www folder does have the default phonegap's image with name icon.png

My versions are:

VSKUMAR-mac:ios vskumar$ cordova -version
6.5.0
VSKUMAR-mac:ios vskumar$ phonegap version

6.4.6
Vik
  • 8,721
  • 27
  • 83
  • 168

1 Answers1

1
 <icon src="icon.png" />

comment this line in config.xml file. It will not reflect to your application.

Or else put the "icon.png" file in www folder.

It will solve your error.

Hiten
  • 724
  • 1
  • 8
  • 23