项目中导入一些开源的类库,里面会爆出一些ARC forbids explicit message send of'retain' 这种问题

解决方法:

点击项目Target -> 找到"Build Settings" -> 找到"Compile Sources" -> 找到出错的类,在对应类的"Compiler Flags"中添加"-fno-objc-arc"

 

ARC forbids explicit message send of'retain'解决办法

 

如果你不是在wb145230博客园看到本文,请点击查看原文.

 

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
猜你喜欢
  • 2021-12-16
  • 2022-01-10
  • 2021-09-01
  • 2021-05-01
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
相关资源
相似解决方案