gpt4 book ai didi

ios - Assets 警告 - 图像集名称 xxx 被多个图像集使用

转载 作者:可可西里 更新时间:2023-11-01 04:40:58 26 4
gpt4 key购买 nike

纯属好奇,如有打扰请提前致歉。

当我对多个图像集使用相同的名称时收到警告。我已经知道使用不同的名称可以解决问题。但是我正在徘徊 Xcode 的行为是什么,如果我不通过仍然保留两个具有相同名称的图像集并运行项目来做到这一点怎么办。将选择哪个图像集?

编辑

这里是 Relevant docs .

最佳答案

根据 Apple Asset Catalog Format Reference docs :

For any target in an Xcode project, the fully qualified name of an asset must be unique across all the asset catalogs and across all asset types. For example, it is an error to have an image set folder in one asset catalog called Llama.imageset and an image set with the same name in the same catalog or in a different catalog that is part of the same target. Similarly, it is an error to have both an image set folder called Llama.imageset and an app icon folder called Llama.appiconset in the same catalog or in a different catalog that is part of the same target.

关于ios - Assets 警告 - 图像集名称 xxx 被多个图像集使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39157254/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com