Objective-c JSONModel

时间:2014-08-04 08:32:51

标签: objective-c json linker-errors

我按照说明将JSONModel安装到我的项目中。但是,我遇到了Apple Mach-O Linker Error的问题。

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NSEntityDescription", referenced from:
      objc-class-ref in JSONModel+CoreData.o
  "_OBJC_CLASS_$_NSManagedObject", referenced from:
      l_OBJC_$_CATEGORY_NSManagedObject_$_JSONModel in JSONModel+CoreData.o
      objc-class-ref in JSONModel+CoreData.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我也添加了SystemConfiguration.framework。

请帮帮我。谢谢。

1 个答案:

答案 0 :(得分:0)

CoreData.framework添加到您的目标。

enter image description here