Xcode 7.3无法使用手动引用计数在文件中创建__weak引用 [英] Xcode 7.3 cannot create __weak reference in file using manual reference counting

查看:88
本文介绍了Xcode 7.3无法使用手动引用计数在文件中创建__weak引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到Xcode 7.3后,它将在pod文件中引发错误Cannot create __weak reference in file using manual reference counting.有人解决了这个问题吗?

After updating to Xcode 7.3, it throws the error Cannot create __weak reference in file using manual reference counting in pod files. Has anyone solved this issue?

推荐答案

Build Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release设置为YES.

来自 Apple开发者论坛-非弧形的Xcode 7.3b4无法创建__weak引用.

这篇关于Xcode 7.3无法使用手动引用计数在文件中创建__weak引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆