Skip to content

Commit

Permalink
Fixed method signature for iOS13 / Xcode 13
Browse files Browse the repository at this point in the history
The OG patch is from here: facebook/react-native@46c7ada

info from here:

facebook/react-native#25146

then here: facebook/react-native#25138
  • Loading branch information
Nick committed Sep 16, 2019
1 parent ddc4636 commit 69659da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions React/Base/RCTModuleMethod.mm
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static BOOL RCTParseSelectorPart(const char **input, NSMutableString *selector)
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, "__unused") ||
RCTReadString(input, "__attribute__((__unused__))") ||
RCTReadString(input, "__attribute__((unused))");
}

Expand Down

0 comments on commit 69659da

Please sign in to comment.