我想在 Objective-C 中解析我的 xml 文件,但我得到了一个错误
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason:
'[<Presentation1Name 0x74592f0> setValue:forUndefinedKey:]: this class is not key value
coding-compliant for the key slide.'
*** First throw call stack:
(0x1c93012 0x10d0e7e 0x1d1bfb1 0xb7d711 0xafeec8 0xafe9b7 0x5129 0xbb11c7 0x48c65ee
0x48c5f07 0xbaf6d2 0x2008 0x157b7 0x15da7 0x16fab 0x28315 0x2924b 0x1acf8 0x1beedf9
0x1beead0 0x1c08bf5 0x1c08962 0x1c39bb6 0x1c38f44 0x1c38e1b 0x167da 0x1865c 0x1e5d
0x1d85)
libc++abi.dylib: terminate called throwing an exception
(lldb)
改成小写表示,我没有错误,但我无法解析 label="presentation1" 但是当我将其更改为大写 P -> Presentation 我可以解析它但进程终止
您能给我一些提示以找到问题吗?