ios 出现CopyPngFile error解决方法

来源:互联网 发布:美工做图用什么电脑 编辑:程序博客网 时间:2024/05/17 21:07

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.csdn.net/pingchangtan367/article/details/9301663

0 0