资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集 [英] Asset Catalog Compiler Error - none of the input catalogs contained a matching app icon set named "AppIcon"

查看:45
本文介绍了资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

资产目录编译器错误 - 所有输入目录都不包含名为AppIcon"的匹配应用图标集

Asset Catalog Compiler Error - none of the input catalogs contained a matching app icon set named "AppIcon"

推荐答案

我遇到了类似的问题,我认为是因为我不小心删除了 Images.xcassetsAppIcon>.所以我会解释我做了什么.

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.

  1. 打开当前项目中的 Images.xcassets.
  2. 调整窗口大小并将窗口(Xcode)向右移动.
  3. 在 Xcode 中启动一个新项目(临时项目).将其命名为temporaryApp".
  4. temporaryApp 中打开 Images.xcassets.在这里,您可以看到 AppIcon.
  5. 点击并拖动它到我们之前应用的 Images.xcassets,它位于屏幕的右侧.
  1. Open the Images.xcassets in the current project.
  2. Resize the window and move the window(Xcode) to the right.
  3. Start a new project in Xcode(a temporary one). Name it something like "temporaryApp".
  4. Open the Images.xcassets in the temporaryApp. Here, you can see AppIcon.
  5. Click and drag this to Images.xcassets of our previous app, that is placed at the right-hand side of the screen.

瞧,构建成功.

希望这对你有用

这篇关于资产目录编译器错误 - 没有输入目录包含名为“AppIcon"的匹配应用程序图标集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆