[绍棠] ReactNative : ignoring return value of function declared with warn_unused_result attribute

来源:互联网 发布:mysql 查看版本号 编辑:程序博客网 时间:2024/06/05 20:41

运行ReactNative 的项目会报错 ignoring return value of function declared with warn_unused_result attribute


解决方法:RCTWebSocket => TAGETS =>Build Settings => Custom Compiler Flags 去掉 -Werror -Wall两个flags 再运行项目就可以了






阅读全文
0 0
原创粉丝点击