报错信息
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
记录。