标签:
今天遇到这个问题,程序崩溃了……日志如下:
-[NSNull intValue]: unrecognized selector sent to instance 0x375c9860
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException‘, reason: ‘-[NSNull intValue]: unrecognized selector sent to instance 0x375c9860‘ *** First throw call stack: (0x287910d7 0x36c23c77 0x2879659d 0x28794479 0x286c3708 0x17661 0x7d4fd 0x7f419b 0x7f4187 0x7f7e9d 0x28756669 0x28754d89 0x286a06d1 0x286a04e3 0x300651a9 0x2be52445 0xca0c5 0x371f1aaf) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
而 crash 的时候线程停在了这里:
右侧代码出现了 "Thread 1: signal SIGABRT",如图所示:
出现“unrecognized selector sent to instance”问题原因之一及解决方法 该文介绍了一种方法,不过还是没解决我的问题。
目前寻找在路上……
(未解决)[NSNull intValue]: unrecognized selector sent to instance 0x375c9860
标签:
原文地址:http://www.cnblogs.com/jaxer/p/4787486.html