Open derainzhou opened 5 months ago
Xcode设置Minimum Deployments iOS13.6 运行正常
Xcode设置Minimum Deployments iOS14 运行崩溃
目前发现问题在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; }
目前发现问题在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; }