Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key
来源:互联网 发布:联发科p10处理器优化 编辑:程序博客网 时间:2024/06/01 15:38
iPhoneDevelopmentFAQ
- FAQs
- Ask question
- Open questions
- About
Category: Development > Runtime crashes
FAQ: *** Terminating app due to uncaughtexception 'NSUnknownKeyException', reason: '[setValue:forUndefinedKey:]: this class is not key valuecoding-compliant for the key itemName.' (permalink)
Editthis question
Suggest a new answer
Answer
If you're using NIB files / Interface Builder, what this error message REALLY means is:
"Your NIB file has a GUI element that's connected (via the Outletsscreen) to an outlet in one of your source files that doesn't exist"
i.e. it usually happens when you change the name of an IBOutletvariable in your source file, and forget to change your NIB file toreflect the change.
(sadly, Interface Builder isn't good enough to automatically renamethe connection, as it is supposed to do - you MUST do it manually)
Additional Suggested Answers
- Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key
- Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<YHTargetTableViewCell
- *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<DeviceStatusDetail
- iOS错误——Terminal app due to uncaught exception 'NSUnknownKeyException'...this class is not key value
- Terminating app due to uncaught exception 'NSUnknownKeyException'
- Terminating app due to uncaught exception 'NSUnknownKeyException'
- Terminating app due to uncaught exception 'NSUnknownKeyException'
- Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'to-many key not all
- *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not
- Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not
- Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x19862
- *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<DataModel 0x7fe44b
- Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x687
- 出现Terminating app due to uncaught exception 'NSUnknownKeyException', reason: 错误的解决方法
- Terminating app due to uncaught exception 'NSUnknownKeyException' reason: '[<ViewController 0x19862
- xib:*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x1
- reason: '[<__NSDictionary0 0x7fda88f00c90> setValue:forUndefinedKey:]: this class is not key value c
- *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'S
- IPHONE Disk
- m2e: Bringing Maven to Eclipse
- 自定义progressbar
- Configure TLS for Opensips
- 启用PAE机制下虚拟地址到物理地址的转换
- Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key
- 不知道对象的传递那些参数
- Microsoft Distributed Cache Velocity 分布式缓存
- Silverlight在线的几个在线的DEMO[Base]
- 处理器性能颈瓶分析
- 在web项目中和安讯报表web服务直接建立安全session的方法
- 站回南昌-悲宁波之行未成
- 彩虹2009正式版发布
- 住到公司--流尽夸父的最后一滴血