关闭

Terminating app due to uncaught exception 'NSUnknownKeyException'

41人阅读 评论(0) 收藏 举报

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

*** First throw call stack:

(0x1c91012 0x10cee7e 0x1d19fb1 0xb7ae41 0xafc5f8 0xafc0e7 0xb26b58 0x230019 0x10e2663 0x1c8c45a 0x22eb1c 0xf37e7 0xf3dc8 0xf3ff8 0xf4232 0x433d5 0x4376f 0x43905 0x4c917 0x297c 0x10157 0x10747 0x1194b 0x22cb5 0x23beb 0x15698 0x1becdf9 0x1becad0 0x1c06bf5 0x1c06962 0x1c37bb6 0x1c36f44 0x1c36e1b 0x1117a 0x12ffc 0x2712 0x2645)

libc++abi.dylib: terminate called throwing an exception

(lldb) 

xcode代码运行到UIApplicationDelegate的 [self.windowmakeKeyAndVisible];时停止
xib中outlet连接到ViewController中的某个变量上了,后来变量删除了,但是这种连接关系没有删除,导致启动时找不到对应的key,抛出上述exception
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:43次
    • 积分:10
    • 等级:
    • 排名:千里之外
    • 原创:1篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章存档