React Native — Unknown argument type ‘attribute’ in method -[RCTAppState getCurrentAppState:error:]
Modify this file
project_folder/node_modules/react-native/React/Base/RCTModuleMethod.mm
search for about line 91, or looking for this
static BOOL RCTParseUnused(const char **input)
after this line
return RCTReadString(input, “__attribute__((unused))”) ||
add
RCTReadString(input, “__attribute__((__unused__))”) ||
project_folder/node_modules/react-native/React/Base/RCTModuleMethod.mm
search for about line 91, or looking for this
static BOOL RCTParseUnused(const char **input)
after this line
return RCTReadString(input, “__attribute__((unused))”) ||
add
RCTReadString(input, “__attribute__((__unused__))”) ||
Comments
Post a Comment