DoKit icon indicating copy to clipboard operation
DoKit copied to clipboard

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

Open derainzhou opened this issue 1 year ago • 0 comments

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; }

derainzhou avatar Mar 28 '24 13:03 derainzhou