Xcode7.3 Cannot create __weak reference in file using manual reference counting

Xcode7.3更新了之后就发现在MJExtension 的NSObject+MJProperty.h文件编译报错。

9A5ED0A7-8193-446F-A613-0B6CE9EB3DA4.png

解决办法:Build Settings-->Aplle LLVM7.1 - Language - Objectibe C-->Weak Reference In Manual Retain Release设置为YES。


Xcode7.3 Cannot create __weak reference in file using manual reference counting_第1张图片
56E691A9-43A4-4E83-9C7F-E664CC21C5D4.png

你可能感兴趣的:(Xcode7.3 Cannot create __weak reference in file using manual reference counting)