资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集 [英] Asset Catalog Compiler Error - none of the input catalogs contained a matching app icon set named "AppIcon"
本文介绍了资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
资产目录编译器错误 - 所有输入目录都不包含名为AppIcon"的匹配应用图标集
Asset Catalog Compiler Error - none of the input catalogs contained a matching app icon set named "AppIcon"
推荐答案
我遇到了类似的问题,我认为是因为我不小心删除了 Images.xcassets
AppIcon>.所以我会解释我做了什么.
I had a similar problem and I think it was because I accidentally deleted the AppIcon
in Images.xcassets
. So I will explain what I did.
- 打开当前项目中的
Images.xcassets
. - 调整窗口大小并将窗口(Xcode)向右移动.
- 在 Xcode 中启动一个新项目(临时项目).将其命名为temporaryApp".
- 在 temporaryApp 中打开
Images.xcassets
.在这里,您可以看到AppIcon
. - 点击并拖动它到我们之前应用的
Images.xcassets
,它位于屏幕的右侧.
- Open the
Images.xcassets
in the current project. - Resize the window and move the window(Xcode) to the right.
- Start a new project in Xcode(a temporary one). Name it something like "temporaryApp".
- Open the
Images.xcassets
in the temporaryApp. Here, you can seeAppIcon
. - Click and drag this to
Images.xcassets
of our previous app, that is placed at the right-hand side of the screen.
瞧,构建成功.
希望这对你有用
这篇关于资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文