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
In AppName.xcodeproj/project.pbxproj i changed the occurrences of icon.png -> Icon.png and the validations passed.
Had the same issue building a 5.1 app.
Just simply removed and send to trash the offending files. Then re-imported, making sure the copy button was ticked.
Clean -> Build
Now works. I guess those files weren't being copied over as they should have been..
For some reason the (possibly when adding multiple icons and changing the file?) the item gets moved to item 1-...
Make sure your icon is listed as item 0
in the plist
I was getting the same error, also with a universal app. I had a project from Xcode 3 (already submitted to store). I opened in Xcode 4 and saw the fancy image-linking page (click on target, "summary" and "app deployment info") when you click on the target. After linking various icons, testing, compiling, and then archiving, I got this error.
One extra thing- I'd added the icon names byhand in to the plist in Xcode 3. My guess is that this was conflicting with the image-linking feature in Xcode 4. So I removed one entry, "icon" in the plist. The new image-linker creates plist entries as an array. I left that the same, though I did verify the filenames with the image names in my bundle, and capitalized one of them in both places. I removed and added back the problematic image to the bundle.
I validated and it passed.
My guess is that "special" icon names- that are dynamically linked to certain features in the app- are going to be more sensitive than random ones. With the new image-linking ability, you can name your icon files anything you want.
Hope this helps.
just ran into this tonight - its not good enough to be named correctly and in the proper folder. make sure you drag it into the x-code folder structure if i'm explaining that properly. in the folder view, make sure their actually listed in there.
Same issue for me; I resolved by setting "Compress PNG Files" to "NO" in info.plist. Cleaned, archived, validated, success.