Skip to content

Commit

Permalink
修复XCode 11启动RN应用直接我crash的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
erichua23 committed Oct 12, 2019
1 parent d9ff176 commit e966623
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 e966623

Please sign in to comment.