/image/jia_mousedown@2x.png Pngcrush caught libpng error:not a PNG file.
Application in the simulator to debug a little problem does not, but one put on the real machine debugging on the copypngfile error, compiler errors are as follows:
While Reading/users/avepoint/desktop/**/**/image/jia_mousedown@2x.png Pngcrush caught libpng error:
Not a PNG file.
Command/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/copypng emitted Errors but did a nonzero exit code to indicate failure
copypngfile/users/avepoint/library/developer/xcode/deriveddata/**-eapmjmcpwpwpvcazuqcyashswpze/build/products/ Debug-iphoneos/**.app/hsj.png **/image/hsj.png
cd/users/avepoint/desktop/melon/xmppworking_realphone/**
Export Path= "/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/ Applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin "
/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/copypng-compress/ users/avepoint/desktop/**/**/image/hsj.png/users/avepoint/library/developer/xcode/deriveddata/**- Eapmjmcpwpwpvcazuqcyashswpze/build/products/debug-iphoneos/**.app/hsj.png
Error message prompts said that the picture was not found when the picture, check the picture path, no problem.
Solution:
1. In build settings, the project Compress PNG files set to No, the problem is resolved, but this setting, the IPA will be very large.
2.mac to overwrite the source file with Preview (preview) to open the offending PNG file, and then re-export the PNG file or save the PNG picture as not interlaced in Photoshop (not interleaved). This way when the real machine debugging there is no error.