报错信息

Unknown argument type '__attribute__' in method -[RCTLinkingManager getInitialURL:reject:]. Extend RCTConvert to support this type.

 

1.在Xcode中打开:Xcode打开RCTModuleMethod.mm文件:路径 Libraries ->  React.xcodeproj  ->  React  ->  Base  ->  RCTModuleMethod.mm

大概 在84 行:

static BOOL RCTParseUnused(const char **input)
{
  return RCTReadString(input, "attribute((unused))") ||
         RCTReadString(input, "__attribute__((__unused__))") ||
         RCTReadString(input, "__unused");
}

 

来源:https://blog.csdn.net/koufulong/article/details/107279920

记录。

 

posted on 2020-07-13 16:49  浅唱年华1920  阅读(425)  评论(0编辑  收藏  举报