Xcode升级问题…Unknown argument type ‘attribute‘ in method -[RCTAppState getCurrentAppState:error:]
Xcode打开
Libraries->React.xcodeproj->React->Base ->RCTModuleMethod.mm
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, “attribute((unused))”) ||
RCTReadString(input, “attribute((unused))”) ||
RCTReadString(input, “__unused”);
}