What do you think about MacEggs.com ?
Post
Replies
Boosts
Views
Activity
Seems to work... what about this other case?
Same error on NSMethodSignature *ret = instanceMethodForSelectorIMP( self->targetObjectClass, @selector(instanceMethodSignatureForSelector:), aSelector );
(NSMethodSignature *)methodSignatureForSelector: (SEL)aSelector
{
//DEBUGLOG( @"" );
id obj = [ self resolveTargetObject ];
if( obj == nil ){
Method instanceMethod = classgetClassMethod( self->targetObjectClass, @selector(instanceMethodSignatureForSelector:) );
IMP instanceMethodForSelectorIMP = methodgetImplementation( instanceMethod );
//AppleM1 NSMethodSignature *ret = instanceMethodForSelectorIMP( self->targetObjectClass, @selector(instanceMethodSignatureForSelector:), aSelector );
NSMethodSignature *ret = instanceMethodForSelectorIMP( self->targetObjectClass, @selector(instanceMethodSignatureForSelector:), aSelector );
return ret;
}
return [ obj methodSignatureForSelector: aSelector ];
}
it worked, thanks
Found why! In User-Defined I had to add i386 x86_64 arm64
I need an example to understand how it works. the documentation is not clear enough.