当使用xcode运行项目时遇到xxx can only be used with ARC的问题,截图如下:

Xcode运行出现 xxx can only be used with ARC问题解决

 

解决办法:只需要在target的build phases中,将compile sources中出现报错的.m文件,双击,然后输入-fobjc-arc,再enter即可;如下截图所示:

Xcode运行出现 xxx can only be used with ARC问题解决

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-06-29
  • 2021-11-26
  • 2022-12-23
相关资源
相似解决方案