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

Xcode设置Minimum Deployments iOS14 后运行加载分类时崩溃 #1165

Open
derainzhou opened this issue Mar 28, 2024 · 0 comments
Open
Assignees

Comments

@derainzhou
Copy link

Xcode设置Minimum Deployments iOS13.6 运行正常

image

Xcode设置Minimum Deployments iOS14 运行崩溃

image

目前发现问题在get_non_lazy_categary_list()中, 应该是苹果的category_t在iOS14后结构体有变化, 导致读取分类方法列表异常, 导致的崩溃;
category_t **get_non_lazy_categary_list(size_t *count) {
category_t **nlcatlist = NULL;
nlcatlist = _getObjc2NonlazyCategoryList((headerType *)get_target_image_header(), count);
return nlcatlist;
}

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