📅  最后修改于: 2022-03-11 15:03:44.687000             🧑  作者: Mango
//Edit the following file
//node_modules/react-native/React/Base/RCTModuleMethod.mm
//Add in line 94:
RCTReadString(input, "__attribute__((__unused__))") ||
// You should endup with something like this:
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, "__unused") ||
RCTReadString(input, "__attribute__((__unused__))") ||
RCTReadString(input, "__attribute__((unused))");
}