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

运行几次后就会报错 #2

Open
Kienty opened this issue Oct 24, 2019 · 3 comments
Open

运行几次后就会报错 #2

Kienty opened this issue Oct 24, 2019 · 3 comments

Comments

@Kienty
Copy link

Kienty commented Oct 24, 2019

每次报错后都需要将IPHObfuscationSymbols里的内容清空保存后,重新编译一下才可以。

@Kienty
Copy link
Author

Kienty commented Oct 24, 2019

并且属性混淆后,属性值都无法使用,我用的MJExtension模型转换,因为属性名称更换了,所有所有混淆后属性都无内容

@iPhuan
Copy link
Owner

iPhuan commented Oct 24, 2019

并且属性混淆后,属性值都无法使用,我用的MJExtension模型转换,因为属性名称更换了,所有所有混淆后属性都无内容

看下文档的注意事项说明

@iPhuan
Copy link
Owner

iPhuan commented Oct 24, 2019

并且属性混淆后,属性值都无法使用,我用的MJExtension模型转换,因为属性名称更换了,所有所有混淆后属性都无内容

"如果你打算使用runtime调用方法,或者使用使用KVO编程时,建议不要对类,方法和属性进行混淆,如果一定要,请用@selector等方式将方法或者属性包起来进行替换,如下所示,否则将导致程序运行崩溃"

MJExtension模型转换直接使用的是属性名称,混淆后肯定无法正常转换了

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