I\'m putting together a universal app and I have the icons in my project, but I keep getting a warning from the compiler in regards to Icon.png.
I followed the instr
I spent far too much time on this issue too!
In the Targets / Info tab I found that I had empty rows in two sections, both under Icon files and under Icon files -> Primary Icon -> Icon files.
You need to remove the empty lines in BOTH sections to be able to archive and validate the app.
I am using Xcode 4.3.3.
I solved the problem, by dragging my custom icon.png file from a folder where I placed it, into the project (ApplicationName-Resources-icons Folder).
After this, my icons folder looked like this:
So the before missing "icon.png" has been added. Thereafter the validation passed.
This problem was driving me crazy! I tried everything posted here.
This is how it worked for me:
I had this issue. The answer for me was to check the capitalization. In my plist I had Icon-small-50.png Icon-small.png and Icon-small@2x.png I capitalized the S and the issue went away. e.g. Icon-Small-50.png Icon-Small.png and Icon-small@2x.png
Add your Icon-files to "Build Phases" -> "Copy Bundle Resources"
Hope it helps...
I also got this error when I had an extra blank line in my Info.plist. I had Item 0, which was Icon.png, and I had Item 1, which was blank. Item 1 had been my iPad icon, but I cleared it. Archiving then gave me the warning you saw. Removing the line for Item 1 completely fixed the issue.