Problem description
While Reading/users/andmac/documents/xxxxxx/xxxxxx/image/xxxxxx/btn_next.png Pngcrush caught libpng error:
[00] [00] [0\243\372\277\327\320\354\217d.\357\217
Command/applications/xcode.app/contents/developer/usr/bin/copypng emitted errors but does not return a nonzero exit code t o Indicate failure
Look at the description is the PNG file is corrupted
Cause of the problem
First, the error of the picture before the normal use, in order to integrate several projects, all the image files under the project into the corresponding image folder, and compared to the previous level of the directory, in addition to modify the file name of the picture. After the real machine debugging has to report the error, not in the simulator test, search online information has seen that analog machine OK.
Solve
Although there is no special action during file movement, the PNG file can be opened normally, so you cannot know exactly where it is damaged.
Re-export the open file directly to its PNG format, replacing the error image.
iOS Development Issue--copypngfile Error