Skip to content

Commit 69659da

Browse files
author
Nick
committed
Fixed method signature for iOS13 / Xcode 13
The OG patch is from here: facebook/react-native@46c7ada info from here: facebook/react-native#25146 then here: facebook/react-native#25138
1 parent ddc4636 commit 69659da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

React/Base/RCTModuleMethod.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static BOOL RCTParseSelectorPart(const char **input, NSMutableString *selector)
9191
static BOOL RCTParseUnused(const char **input)
9292
{
9393
return RCTReadString(input, "__unused") ||
94+
RCTReadString(input, "__attribute__((__unused__))") ||
9495
RCTReadString(input, "__attribute__((unused))");
9596
}
9697

0 commit comments

Comments
 (0)