Got the following error running a react-native app on iOS:
Xcode 11 Error: "Unknown argument type '__attribute__' in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type."
Got the following error running a react-native app on iOS:
Xcode 11 Error: "Unknown argument type '__attribute__' in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type."
Solution taken from here:
This is a 0.59 version bug.
Edit the following file:
react-native/React/Base/RCTModuleMethod.mm
Add in line 94:
RCTReadString(input, "__attribute__((__unused__))") ||