iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – Xcode 6 Beta 6 CUICatalog:提供的资产名称无效:(null)或无效比例因子:2.000000大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我收到以下错误: 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"
我收到以下错误

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"

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

我已将文件添加到Xcode中:

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

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

我正在使用Xcode 6 Beta 6

我知道约@L_404_0@,但这并没有帮助我.

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

解决方法

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

我这样解决

大佬总结

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

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

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。