Cannot create __weak reference in file using manual reference counting

Posted open-coder

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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



以上是关于Cannot create __weak reference in file using manual reference counting的主要内容,如果未能解决你的问题,请参考以下文章

Cannot create __weak reference in file using manual reference counting

iOS之报错“Cannot create __weak reference in file using manual reference counting”解决办法

Loadrunner问题:Monitor name :Windows Resources. Cannot create measurement Processor|% Processor Time|_

hadoop上传文件失败报错(put: Cannot create file/eclipse.desktop._COPYING_. Name node is in safe mode.)

java.sql.SQLException: Cannot create com._51doit.pojo.User: com._51doit.pojo.User Query: select * fr

TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file……