这个记录一下,好久没遇到设置ARC的情况了,今天遇到就记录下来。
在导入YYKit的时候报错如下:
iOS This file must be compiled without ARC. Specify the -fno-objc-arc flag to this file.

其实就是在工程Build Phases中搜索到对应的类NSObject+YYAddForARC,然后设置-fno-objc-arc即可
iOS This file must be compiled without ARC. Specify the -fno-objc-arc flag to this file.
END.

相关文章:

  • 2022-01-02
  • 2021-07-08
  • 2021-07-15
  • 2021-12-03
  • 2021-05-26
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2021-11-24
  • 2021-10-10
相关资源
相似解决方案