-
Notifications
You must be signed in to change notification settings - Fork 365
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
恢复swift混编失败 #25
Comments
我也遇到了这个问题,解决了吗 |
you need update class-dump. support Swift https://github.com/BlueCocoa/class-dump |
@shinyYangYang 你好,链接失效了 有备份么 |
直接解决
- (CDOCClass *)loadClassAtAddress:(uint64_t)address;
{
。。。
// NSParameterAssert(moduleName.length == length);
。。。
// NSParameterAssert(className.length == length); 更高级更好的解决直接换: |
Scan OC method in mach-o-file.
2018-11-25 14:37:54.450 restore-symbol[8066:588336] *** Assertion failure in -[CDObjectiveC2Processor loadClassAtAddress:], /Users/yifang/restore-symbol/class-dump/Source/CDObjectiveC2Processor.m:258
2018-11-25 14:37:54.452 restore-symbol[8066:588336] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: moduleName.length == length'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff4a479e65 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff764d4720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff4a494ab2 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff4c838d1d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 restore-symbol 0x000000010f53a821 -[CDObjectiveC2Processor loadClassAtAddress:] + 2826
5 restore-symbol 0x000000010f53831c -[CDObjectiveC2Processor loadClasses] + 243
6 restore-symbol 0x000000010f53563c -[CDObjectiveCProcessor process] + 391
7 restore-symbol 0x000000010f522e9b -[CDClassDump processObjectiveCData] + 344
8 restore-symbol 0x000000010f51828f restore_symbol + 831
9 restore-symbol 0x000000010f520212 main + 482
10 libdyld.dylib 0x00007fff775a308d start + 1
11 ??? 0x0000000000000006 0x0 + 6
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
The text was updated successfully, but these errors were encountered: