Terminating app due to uncaught exception 'NSUnknownKeyException' this class is not key valu

Posted tryFighting

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Terminating app due to uncaught exception 'NSUnknownKeyException' this class is not key valu相关的知识,希望对你有一定的参考价值。

 Terminating app due to uncaught exception ‘NSUnknownKeyException‘, reason: ‘[ViewController > setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backBtn.‘

 

第一种情况:xib文件属性输出口连接错误,IBout多连或者忘关输入口

 

第二种情况:引入第三方的SDK会出现错误,导入的bundle文件的nib文件出现问题,需要重新导入bundle资源文件 若公用SDK中的bundle文件里面的nib文件需要进行放在不同的路径进行调用即可,便于找到nib对应的控制器类

以上是关于Terminating app due to uncaught exception 'NSUnknownKeyException' this class is not key valu的主要内容,如果未能解决你的问题,请参考以下文章

iOS Terminating app due to uncaught exception 'NSInternalInconsistencyException', re

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: xxxx

Terminating app due to uncaught exception 'NSUnknownKeyException' this class is not key valu

成功编译无错MAC OpenJDK8:Terminating app due to uncaught exception ‘NSInternalInconsistencyException‘

PMON (ospid: 2853): terminating the instance due to error 471

postgreSql 报错 (psycopg2.errors.IdleInTransactionSessionTimeout) terminating connection due to idle-i