gpt4 book ai didi

ios - Xcode 6 Beta 6 CUICatalog : Invalid asset name supplied: (null), 或无效比例因子 : 2. 000000

转载 作者:技术小花猫 更新时间:2023-10-29 10:12:08 24 4
gpt4 key购买 nike

我收到以下错误:

CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000
Could not load the "(null)" image referenced from a nib in the bundle with identifier "com.example.project"

自从我在 Interface Builder 中为选项卡栏项设置“选定图像”后出现错误:

enter image description here

我已将文件添加到 Xcode 中:

enter image description here

设置写入 Storyboard文件:

<tabBarItem key="tabBarItem" title="..." image="config.png" selectedImage="config_filled.png" id="5Wh-7m-Y4H"/>

我正在使用 Xcode 6 Beta 6

我知道 Error: CUICatalog: Invalid asset name supplied: (null), or invalid scale factor : 2.000000但这对我没有帮助。

什么会导致 Assets 名称为空?我重新输入了图像名称,我也尝试了清理和重建,但错误仍然存​​在(并且没有图像出现)

最佳答案

在 Xcode 6.1 中,Attributes Inspector 中的某些属性不起作用,但您可以使用“用户定义的运行时属性”来解决此问题。

我是这样解决的: enter image description here

关于ios - Xcode 6 Beta 6 CUICatalog : Invalid asset name supplied: (null), 或无效比例因子 : 2. 000000,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25612842/

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