简体   繁体   English

错误资产目录编译器错误

[英]Error asset catalog compiler error

I finished an app and after i finished uploading the app Icon images It doesn't run and i had this error: 我完成了一个应用程序,在我完成上传应用程序图标图像后它没有运行,我有这个错误:

资产目录编译器错误提取失败未知原因

More simple way is - click right mouse button on the error (on "Distill failed for unknown reasons") and select " Reveal in Log ". 更简单的方法是 - 在错误上单击鼠标右键(在“由于未知原因提取失败”)并选择“ 在日志中显示 ”。

在此输入图像描述

This may be an issue with an image that is saved with the PNG extension that is actually NOT a png file (frequently this happens when using "save as" on a PSD and naming it with .png while forgetting to actually convert the file). 对于使用实际上不是png文件的PNG扩展名保存的图像,这可能是一个问题(通常在PSD上使用“另存为”并在忘记实际转换文件时使用.png命名时会发生这种情况)。

This has been answered before here . 这已在之前得到解答。

好的,所以这里是我如何修复它,我删除了所有的图像,并逐个上传,直到我找到这一个图像,这是.png但它有一些问题,所以我在photoshop中重新做了它,并噗错误消失了。

For me the solution was THIS . 对我来说解决方案就是这个

(Note: I had no .psd as .png, etc.) (注意:我没有.psd作为.png等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM