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