xcode 错误资产目录编译器错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31505570/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error asset catalog compiler error
提问by Naiem Salib
I finished an app and after i finished uploading the app Icon images It doesn't run and i had this error:
我完成了一个应用程序,在我上传完应用程序图标图像后它没有运行,我遇到了这个错误:
回答by Maxim Firsoff
回答by Schule
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.
这已经在这里之前得到了回答。
回答by Naiem Salib
Ok so here is how i fixed it , i removed all the images and uploaded them one by one until i found this one image , that was .png but there was something wrong with it so i re-did it in photoshop , and poof the error was gone .
好的,这就是我修复它的方法,我删除了所有图像并一张一张地上传,直到我找到了这张图片,那是 .png 但它有问题,所以我在 photoshop 中重新做了它,然后噗错误消失了。