Post

Replies

Boosts

Views

Activity

Reply to "Too many arguments to function call" with xCode 12
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 ]; }
Nov ’20