*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '[<_UIFeedbackParameters 0x1d4442e50> setNilValueForKey]: could not set nil as the value for the key rate.'

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '[<_UIFeedbackParameters 0x1d4442e50> setNilValueForKey]: could not set nil as the value for the key rate.'

*** First throw call stack:

(0x183d82d8c 0x182f3c5ec 0x183d82c6c 0x18478a428 0x1846d844c 0x18e248a00 0x183ca6564 0x18dbacdc8 0x18dbacbe8 0x18dbacb6c 0x18dbacb0c 0x18dbf6cf8 0x18dbf6b28 0x18dbf6988 0x18dbf4374 0x18daf5a90 0x18daf5a90 0x18daf58e4 0x18daf4c24 0x1847ce0ec 0x183d2b404 0x183d2ac2c 0x183d2879c 0x183c48da8 0x185c2b020 0x18dc2978c 0x1026020c4 0x1836d9fc0)

搞了一下午的一个bug,dan疼不行

刚排查出的原因,对NSObject覆写了一个名为getRate(本想用来获取汇率的)一个拓展方法

应该是跟系统的某个方法重名导致的,本来加个前缀就可以避免的,emmm...不能浮躁啊...

猜你喜欢

转载自www.cnblogs.com/dev1024/p/9296670.html