copypng emitted errors but did not return a nonzero exit code to错误

来源:互联网 发布:四图连拍的是什么软件 编辑:程序博客网 时间:2024/05/16 11:16

在把项目打包成ipa包时,出现以下错误,

While reading /Users/apple/Downloads/kongyu/6_26Shopping2 2/6_26Shopping2/Default@2x.png pngcrush caught libpng error:  \216\347\217ֵ\232@A\347\217\320Command /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如下图:

解决办法:project------>Build Settings ---->Compress PNG files 将其设置为NO,就可以了。。。。


原创粉丝点击