Skip to content

Instantly share code, notes, and snippets.

@diegorribeiro
Created January 28, 2020 17:17
Show Gist options
  • Save diegorribeiro/90d0322249b6d995c8a8d4607137551b to your computer and use it in GitHub Desktop.
Save diegorribeiro/90d0322249b6d995c8a8d4607137551b to your computer and use it in GitHub Desktop.
Fix build react-native ios 13 XCode 11.3.1
#node_modules/react-native/React/Base/RCTModuleMethod.mm
##and update below code
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, "__attribute__((unused))") ||
RCTReadString(input, "__attribute__((__unused__))") ||
RCTReadString(input, "__unused");
}
##after doing that
##uninstall the old app from your real device
##rebuild the application! and this shall be gone!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment