升级xcode后报错提示:Unknown argument type '__attribute__' in method......
解决方法:
修改文件Libraries->React.xcodeproj->React->Base ->RCTModuleMethod.mm
找到这个方法static BOOL RCTParseUnused(const char **input)
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, "__unused")
|| RCTReadString(input, "__attribute__((__unused__))")
|| RCTReadString(input, "__attribute__((unused))");
}
重新运行错误解决。