首页 > 代码库 > Cannot create __weak reference in file using manual reference counting

Cannot create __weak reference in file using manual reference counting

Xcode更新到7.3后会出现NSObject+MJProperty.h报Cannot create __weak reference in file using manual reference counting错误信息。

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

Cannot create __weak reference in file using manual reference counting