如何清除针对xcassets未分配孩子的警告? [英] How do I clear a warning for xcassets unassigned children?

查看:71
本文介绍了如何清除针对xcassets未分配孩子的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次构建时,我都会收到两个警告:

Every time I build I receive two warnings:

<Project name>
    Assets.xcassets
        The launch image set "BrandAsset" has 2 unassigned children.

<Project name>
    Images.xcassets
        The launch image set "BrandAsset" has 2 unassigned children.

不太确定要怎么做,因为我正在为启动屏幕文件分配现有的情节提要.

Not really sure what to do about this because I am assigning an existing storyboard for the Launch Screen File.

启动屏幕源下,我只看到一个显示使用资产目录的按钮.

Under Launch Screen Source, I just see a button that says Use Asset Catalog.

如何修复我的构建以清除这些警告?

How can I fix my build to clear these warnings?

推荐答案

只需选择未分配的项目,然后删除:删除未分配的项目

just select unassigned items, then, remove: remove unassigned items

这篇关于如何清除针对xcassets未分配孩子的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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