weak_classdump icon indicating copy to clipboard operation
weak_classdump copied to clipboard

does not implement doesNotRecognizeSelector: error

Open r-plus opened this issue 13 years ago • 0 comments

Hi guys.

I tried use weak_classdump_bundle to new google chrome app. It showed does not implement error and abort message in syslog.

*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement methodSignatureForSelector: -- trouble ahead
*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement doesNotRecognizeSelector: -- abort

So, I add one line for temporary fix.

for (var i = 0; i < permittedNames.length; i++) {
        try {
                while ([permittedNames[i] hasPrefix:@"NI_FIX"]) i++;
                results.push(weak_classdump(objc_getClass(permittedNames[i]), false, outputdir));
        } catch (e) {
        }
}

Can you fix this abort issue without hard-coding (like above) ?

r-plus avatar Jun 29 '12 23:06 r-plus