New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcode7.3编译问题 #151
Comments
请更新到最新版本(1.0.3)试试,昨天刚改好。 |
Pod 上最新的还是1.01呀 |
执行 |
额,是以后xcode在arc 模式下id类型不能用__weak了,还是xcode的bug? |
错误提示说不能在 MRC 下使用 __weak,但这个头文件应该没有被引入 MRC 文件下编译,所以我觉得这可能是 Xcode 的问题。 |
是啊,我也觉得是xcode问题,所以你这样改了,会引起什么问题吗? 发自我的 iPhone
|
这块儿代码倒是无所谓。。没什么影响 |
xcode7.3编译会有这个编译错误:
NSObject+YYAddForKVO.h
方法:- (void)addObserverBlockForKeyPath:(NSString*)keyPath block:(void (^)(__weak id _Nonnull obj, _Nullable id oldVal, _Nullable id newVal))block;
错误:Cannot create __weak reference in file using manual reference counting
The text was updated successfully, but these errors were encountered: