美文网首页
iOS 运行RAC报错Cannot create __weak

iOS 运行RAC报错Cannot create __weak

作者: Singularity_Lee | 来源:发表于2020-05-09 16:11 被阅读0次

    旧项目增添RAC时无法在手动计数文件中创建弱引用,出现以下报错 Cannot create __weak reference in file using manual reference counting

    Cannot create __weak reference in file using manual reference counting

    解决方式:

    Build Settings ->
    Apple Clang - Language - Objective C->
    Weak Referances in Manual Retain Release ->
    NO改为YES

    解决路径

    相关文章

      网友评论

          本文标题:iOS 运行RAC报错Cannot create __weak

          本文链接:https://www.haomeiwen.com/subject/xhiknhtx.html