Not a PNG filCommand /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
两种解决方法 :
1.在build settings里把工程里的Compress PNG files设置为NO,问题解决,但这样设置以后,ipa会很大,不推荐。
2.mac上的preview(预览)打开出问题的png文件,然后重新导出为png文件,问题解决。(因为并不是纯的png文件)
原文:http://blog.youkuaiyun.com/pingchangtan367/article/details/9301663

本文介绍了解决Xcode中PNG文件压缩时出现错误的方法。一种方案是在构建设置中禁用PNG压缩,但这会导致ipa文件体积增大。另一种方法是使用Mac上的预览应用重新导出问题PNG文件。
1万+

被折叠的 条评论
为什么被折叠?



