class-dump无法提出头文件,请大神们帮忙一下,查找了各种资料都没有解决!!!

2022-01-14 17:46:33.728 class-dump[1400:30460] *** Assertion failure in -[CDObjectiveC2Processor loadMethodsAtAddress:extendedMethodTypesCursor:], /Volumes/Lion/Users/nygard/Source/git/me/Tools/class-dump/Source/CDObjectiveC2Processor.m:369
2022-01-14 17:46:33.729 class-dump[1400:30460] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Invalid parameter not satisfying: [cursor offset] != 0’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff205a0e1f __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff202d9bbb objc_exception_throw + 48
2 CoreFoundation 0x00007fff205ca05e +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff212b34d2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 class-dump 0x0000000100d65b8d class-dump + 158605
5 class-dump 0x0000000100d64d0a class-dump + 154890
6 class-dump 0x0000000100d634fc class-dump + 148732
7 class-dump 0x0000000100d60abf class-dump + 137919
8 class-dump 0x0000000100d40c19 class-dump + 7193
9 class-dump 0x0000000100d5080b class-dump + 71691
10 libdyld.dylib 0x00007fff20449f3d start + 1
)
libc++abi: terminating with uncaught exception of type NSException
[1] 1400 abort class-dump -H UmetripFree -o head

:sweat_smile:
那你倒是把二进制丢上来啊

就是同一个文件,在我朋友电脑上可以,我就不可以,不知道什么原因

文件我放在 *https://airportal.cn*上了
密码:941936

已解决,是之前下载的class-dump文件有问题,尝试下这个class-dump文件(我是成功的!)

1 个赞