Cannot create __weak reference in file using manual reference counting

升级Xcode之后,编译之前的代码,出现
Cannot create __weak reference in file using manual reference counting
解决方法:

在Build Settings--------->Aplle LLVM9.0 - Language - Objectibe-C------------->Weak Reference In Manual Retain Release 设置为YES。

 

Ref: https://blog.csdn.net/JiuJie_/article/details/78677948

posted @ 2020-05-30 18:25  opencoder  阅读(922)  评论(0编辑  收藏  举报