通过获取SIGABRT错误更新到Xcode5模拟器

时间:2013-11-27 08:19:15

标签: ios iphone objective-c xcode

我最近开始使用的应用程序并使用SIGABRT消息继续崩溃。调试器顶部的常规消息说:

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIView 0xb651580> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key parentEmail.'

......在底部它说:

libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

让我知道是否需要“第一次投掷堆栈”信息来解决这个问题。

2 个答案:

答案 0 :(得分:0)

通常这来自xib内部的出口链接,没有相应的类变量。 你是否删除了类中的变量而没有删除xib中的链接?

答案 1 :(得分:0)

检查并确保您之前没有先前与某个操作相关联的按钮/文本字段/标签,然后删除该项目。该链接仍然存在。检查并确保所有链接都与现有项目匹配。