ios – Xcode 6 Beta 6 CUICatalog:提供的资产名称无效:(null)或无效比例因子:2.000000

ios – Xcode 6 Beta 6 CUICatalog:提供的资产名称无效:(null)或无效比例因子:2.000000,第1张

概述我收到以下错误: CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000Could not load the "(null)" image referenced from a nib in the bundle with identifier "com.example.project" 我收到以下错误:

CUICatalog: InvalID asset name supplIEd: (null),or invalID scale factor: 2.000000Could not load the "(null)" image referenced from a nib in the bundle with IDentifIEr "com.example.project"

我收到错误,因为我在界面生成器中为tab栏项目设置了一个“选择的图像”

我已将文件添加到Xcode中:

该设置写入故事板文件中:

<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,但这并没有帮助我.

什么可能导致资产名称为空?我已经重新进入了图像名称,我也尝试过清洁和重建,但错误仍然存​​在(并且没有图像出现)

解决方法 在Xcode 6.1中,属性检查器中的某些属性不起作用,但您可以使用“用户定义的运行时属性”来解决此问题.

我这样解决:

总结

以上是内存溢出为你收集整理的ios – Xcode 6 Beta 6 CUICatalog:提供的资产名称无效:(null)或无效比例因子:2.000000全部内容,希望文章能够帮你解决ios – Xcode 6 Beta 6 CUICatalog:提供的资产名称无效:(null)或无效比例因子:2.000000所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1065494.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存