On every build in Xcode i get this error. How can i fix it?
I found this commit https://github.com/facebook/react-native/pull/25146/commits/61b8b9e69d8609fecaaaa7d2c9e32808bc5e98cb which should fix it but nothing happened.
static BOOL RCTParseUnused(const char **input) { return RCTReadString(input, "__unused") || RCTReadString(input, "__attribute__((__unused__))") || RCTReadString(input, "__attribute__((unused))"); }
I have still this error
Can you help me fix it please?
I looked in node_modules and i already have this line
Do you have another advice please?
The solution is to either Upgrade to RN 59.9 or higher OR to apply this patch manually:
node_modules/react-native/React/Base/RCTModuleMethod.mm
1.4m articles
1.4m replys
5 comments
57.0k users