其中一个错误为:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSEntityDescription", referenced from:
objc-class-ref in NSObject+MJKeyValue.o
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSEntityDescription", referenced from:
objc-class-ref in NSObject+MJKeyValue.o
"_OBJC_CLASS_$_NSManagedObject", referenced from:
objc-class-ref in NSObject+MJKeyValue.o
objc-class-ref in MJFoundation.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
需要加入如下图的库