I am getting the following error when building my iPhone application. The reddarkedge.png is right there in the supporting files folder.
/Users/azamsharp/Desktop/UltraCam/UltraCam/TCam/reddarkedge.pngCommand /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng failed with exit code 1
Even if I remove the reddarkedge.png from the project it still gives me the same error.

UPDATE SOLUTION:
Turns out I had to hard delete them.
When you say “Even if I remove the reddarkedge.png from the project” when you remove it from the Xcode file navigator does it get removed from the copy bundle step of the target build process? If not maybe manually delete it there as well?
You could also try highl
You might also try opening the XML project file in a text editor and removing the reference by hand. Make sure to have a backup in case you have problems though.
Best of luck.