Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactiveObjC中的KVO异常能否防住? #137

Open
yimiSun opened this issue Mar 17, 2023 · 2 comments
Open

ReactiveObjC中的KVO异常能否防住? #137

yimiSun opened this issue Mar 17, 2023 · 2 comments

Comments

@yimiSun
Copy link

yimiSun commented Mar 17, 2023

JJException SDK 版本 V0.2.13, ReactiveObjC 版本V3.1.1。项目加载 JJException 方式如下:
image
当加上 JJExceptionGuardKVOCrash 选项后app 无法启动,移除后一切正常。最近buglly 里报了一个KVO的异常,信息如下:
image
请问,项目中要怎么开启 KVO的防护?谢谢

@yimiSun
Copy link
Author

yimiSun commented Mar 27, 2023

根据调试,在 NSObject+KVOCrash - ignoreKVOInstanceClass 添加 过滤类型即可
image

@jezzmemo
Copy link
Owner

是的,这里当初就是忽略一些三方库

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants