运行ReactNative 的项目会报错 ignoring return value of function declared with warn_unused_result attribute[绍棠] ReactNative : ignoring return value of function declared with warn_unused_result attribute


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



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

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



相关文章:

  • 2022-01-13
  • 2022-12-23
  • 2021-07-13
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-07-18
相关资源
相似解决方案