I need some help, when I start app on iphone 6 it starts but errors in console:
我需要一些帮助,当我在iphone 6上启动应用程序时它启动但是在控制台中出现错误:
2015-06-05 12:45:45.211 EyeScanner[13508:189126] Failed to set (selectedImage) user defined inspected property on (HMNavigationController): [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage. 2015-06-05 12:45:45.213 EyeScanner[13508:189126] -[__NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]: unrecognized selector sent to instance 0xb000000000000003 2015-06-05 12:45:45.213 EyeScanner[13508:189126] Failed to set (selectedImage) user defined inspected property on (UITabBarItem): -[__NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]: unrecognized selector sent to instance 0xb000000000000003
2015-06-05 12:45:45.211 EyeScanner [13508:189126]无法在(HMNavigationController)上设置(selectedImage)用户定义的检查属性:[setValue:forUndefinedKey:]:此类不是密钥值编码兼容的密钥selectedImage。 2015-06-05 12:45:45.213 EyeScanner [13508:189126] - [__ NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]:无法识别的选择器发送到实例0xb000000000000003 2015-06-05 12:45:45.213 EyeScanner [13508:189126]无法设置(selectedImage)用户定义的检查属性(UITabBarItem): - [__ NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]:无法识别的选择器发送到实例0xb000000000000003
But when I start it on iphone 5s with IOS 7 - crash and log:
但是当我用IOS 7在iphone 5s上启动时 - 崩溃并记录:
2015-06-05 13:50:57.202 EyeScanner[13752:607] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage.'
2015-06-05 13:50:57.202 EyeScanner [13752:607] ***由于未捕获的异常'NSUnknownKeyException'终止应用程序,原因:'[setValue:forUndefinedKey:]:此类不符合键值编码key selectedImage。'
1 个解决方案
#1
0
Here is the error:
这是错误:
(HMNavigationController): [ setValue:forUndefinedKey:]:
this class is not key value coding-compliant
for the key selectedImage
.
(HMNavigationController):[setValue:forUndefinedKey:]:此类不是密钥selectedImage的密码值编码兼容。
Check:
检查:
1- If you have connected the correct property with the object in IBOutlet
.
1-如果已将正确的属性与IBOutlet中的对象相关联。
2- Any deleted property in code, but object in IBOutlet
still targeting that deleted property.
2-代码中任何已删除的属性,但IBOutlet中的对象仍然以该已删除属性为目标。
EDIT:
编辑:
Try cleaning the project with Shift-Cmd-K
尝试使用Shift-Cmd-K清洁项目
Also Clean Build Folder. To access the option open the Product menu and use the Option key to show the Clean Build Folder option.
还清理构建文件夹。要访问该选项,请打开“产品”菜单,然后使用Option键显示“清理构建文件夹”选项。
#1
0
Here is the error:
这是错误:
(HMNavigationController): [ setValue:forUndefinedKey:]:
this class is not key value coding-compliant
for the key selectedImage
.
(HMNavigationController):[setValue:forUndefinedKey:]:此类不是密钥selectedImage的密码值编码兼容。
Check:
检查:
1- If you have connected the correct property with the object in IBOutlet
.
1-如果已将正确的属性与IBOutlet中的对象相关联。
2- Any deleted property in code, but object in IBOutlet
still targeting that deleted property.
2-代码中任何已删除的属性,但IBOutlet中的对象仍然以该已删除属性为目标。
EDIT:
编辑:
Try cleaning the project with Shift-Cmd-K
尝试使用Shift-Cmd-K清洁项目
Also Clean Build Folder. To access the option open the Product menu and use the Option key to show the Clean Build Folder option.
还清理构建文件夹。要访问该选项,请打开“产品”菜单,然后使用Option键显示“清理构建文件夹”选项。