本文介绍了我如何修复CopyPNG File的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读 / Users / user / Desktop / AppProject / PruebaApp / Logo Retina.png

pngcrush 抓住了libpng错误:

pngcrush caught libpng error:

命令

我在归档项目时遇到这些错误,最后它会存档但我想摆脱它。我之前遇到了应用程序的麻烦,我读到我应该删除DerivedData /(myproject)文件夹,所以我做了。并且显然它正试图在该文件夹中查找图像如何解决这个问题?帮助!

Im getting these errors while archiving project, at the end it does archive but i want to get rid of it. I had trouble with the app before and i read that i should delete the DerivedData/(myproject)folder so i did. and apparently it is trying to look for the images in that folder how do i fix this??? Help!

推荐答案

首先尝试通过硬清理项目 CMD + OPTION + SHIFT + K ,如果问题存在,则应用以下方法,

Try first by Hard Cleaning your project CMD+OPTION+SHIFT+K, If problem exists apply following method,

构建阶段 - > 复制捆绑资源,任何fileName都是红色?

Build Phases -> Copy Bundle Resources, Any fileName is red color?

转换Logo Retina.png或重新创建它,也许这是一个encoding\format问题。

Convert Logo Retina.png or Create it again, maybe it's an encoding\format issue.

将Logo Retina.png重命名为LogoRetina.png。

Rename "Logo Retina.png" to "LogoRetina.png".

〜好运气〜

这篇关于我如何修复CopyPNG File的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 22:33