Unknown argument type '__attribute__'


Xcode 11 Error: "Unknown argument type '__attribute__' in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type."

 
 
According the official issue :
https://github.com/facebook/react-native/issues/25138

iOS build fails to run in with Xcode 11.0 beta


This is a 0.59 version bug.

If you have want to fix it by youself, please check this out: https://github.com/facebook/react-native/pull/25146.

react-native/React/Base/RCTModuleMethod.mm

line94:

RCTReadString(input, "__attribute__((__unused__))") ||


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM