diff --git a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm index bf52917bd..505f21643 100644 --- a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm +++ b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm @@ -444,7 +444,7 @@ NSString* ObjCTurboModule::getArgumentTypeName(NSString* methodName, int argInde [argumentTypes addObject:arguments[j].type]; } - NSString *normalizedOtherMethodName = [otherMethodName stringByReplacingOccurrencesOfString:@":" withString:@""]; + NSString *normalizedOtherMethodName = [otherMethodName componentsSeparatedByString:@":"][0]; methodArgumentTypeNames[normalizedOtherMethodName] = argumentTypes; }