解决的办法:在Build Settings———>Aplle LLVM8.0 - Language - Objectibe-C————->Weak Reference In Manual Retain Release 设置为YES。
iOS之报错“Cannot create __weak reference in file using manual reference counting”解决办法
最新推荐文章于 2024-10-23 02:12:07 发布
本文介绍了解决在Objective-C中使用弱引用时遇到的问题的方法。通过在Build Settings中找到Apple LLVM 8.0 - Language - Objective-C部分,并将Weak Reference in Manual Retain Release设置为YES来解决该问题。
3万+

被折叠的 条评论
为什么被折叠?



