终止调用在Xcode中抛出异常(lldb)

时间:2013-06-21 11:40:13

标签: ios cocoa-touch

2013-06-21 06:34:17.023 richhh[3108:907] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x1dd2fa40> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key banner.' *** First throw call stack: (0x32d6c2a3 0x3ac1797f 0x32d6bf99 0x335d91d9 0x335d4f2b 0x32cf261b 0x34d1131d 0x34d10b9b 0x34c0903d 0x34b9346d 0x34c1f353 0x34c60d11 0x34c5ffe7 0xd7fc3 0xd888d 0x34c5f0c5 0x34c5f077 0x34c5f055 0x34c5e90b 0x34c5ee01 0x34b875f1 0x34b74801 0x34b7411b 0x3687f5a3 0x3687f1d3 0x32d41173 0x32d41117 0x32d3ff99 0x32cb2ebd 0x32cb2d49 0x3687e2eb 0x34bc8301 0xd61b5 0x3b04eb20) libc++abi.dylib: terminate called throwing an exception (lldb)

所有这些意味着什么,我该如何解决?当我按下我的按钮时,它会暂停并显示出来。

1 个答案:

答案 0 :(得分:0)

  

由于未捕获的异常'NSUnknownKeyException'而终止应用,   原因:'[setValue:forUndefinedKey:]:this   对于键横幅

,类不符合键值编码

Xib中的插座指的是不存在的banner属性。