From: http://blog.csdn.net/shencaifeixia1/article/details/8976756
Error reported when xcode runs on a real machine
[Plain]View
Plaincopyprint?
- While reading/users/yangeric/MIOs/meitu/image/backgroundhomescreen_5.png pngcrush caught libpng error:
The reason is that the prompt PNG is not a PNG in PS, but a PNG extension is manually modified. No error is reported on the simulator, but on the real machine, this so-called "PNG" image is not recognized.
Solution:
Use PS to re-export PNG.
Attached Error Log:
[Plain]View
Plaincopyprint?
- (Null): While reading/users/yangeric/MIOs/meitu/image/backgroundhomescreen_5.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-plugin/build/products/debug-iphoneos/meitu. APP/backgroundhomescreen_5.png
- Command/applications/xcode. APP/contents/developer/platforms/iphoneos. Platform/developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure
- (Null): While reading/users/yangeric/MIOs/meitu/image/BackgroundHomeScreen@2x.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-axtpdkzrafpqwueeqfkdldtmiyjn/build/products/debug-iphoneos/meitu. app
- (Null): While reading/users/yangeric/MIOs/meitu/image/BackgroundHomeScreen_5@2x.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-axtpdkzrafpqwueeqfkdldtmiyjn/build/products/debug-iphoneos/meitu. app
- (Null): While reading/users/yangeric/MIOs/meitu/image/backgroundhomescreen.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-plugin/build/products/debug-iphoneos/meitu. APP/backgroundhomescreen.png
- (Null): While reading/users/yangeric/MIOs/meitu/image/backgroundlockscreen_5.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-plugin/build/products/debug-iphoneos/meitu. APP/backgroundlockscreen_5.png
- (Null): While reading/users/yangeric/MIOs/meitu/image/BackgroundLockScreen_5@2x.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-axtpdkzrafpqwueeqfkdldtmiyjn/build/products/debug-iphoneos/meitu. app
- (Null): While reading/users/yangeric/MIOs/meitu/image/backgroundlockscreen.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-plugin/build/products/debug-iphoneos/meitu. APP/backgroundlockscreen.png
- (Null): While reading/users/yangeric/MIOs/meitu/image/BackgroundLockScreen@2x.png pngcrush caught libpng error:
- (Null): cocould not find file:/users/yangeric/library/developer/xcode/deriveddata/meitu-axtpdkzrafpqwueeqfkdldtmiyjn/build/products/debug-iphoneos/meitu. app