整个错误消息可以在此处查看:
@Abizern建议我阅读键值编码指南的Apple文档。无论如何,现在已经很晚了,或者说很早了,取决于你如何看待它。更新的项目可以在这里找到:https://github.com/ipatch/KegCop。2012-06-20 05:36:55.276 KegCop[79460:fb03] * 应用程序因未捕获的异常 'NSUnknownKeyException' 而终止,原因是:'[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key done.'
* 首个抛出的调用栈: (0x134a022 0x1733cd6 0x1349ee1 0xd31022 0xca2f6b 0xca2edb 0xcbdd50 0x5a571a 0x134bdea 0x12b57f1 0x5a426e 0x7adeef 0x7ae03e 0x382d7a 0x382ff8 0x38217f 0x391183 0x391c38 0x385634 0x1f84ef5 0x131e195 0x1282ff2 0x12818da 0x1280d84 0x1280c9b 0x381c65 0x383626 0x2a8d 0x29f5 0x1) 终止时抛出异常(lldb)
只需下载zip文件,尝试构建,你就会明白我在说什么。错误可能出现在ViewControllerWelcome.m文件中。