3

尝试将 Parse 与 X 代码和目标 C 一起使用。弹出 4 个不同的错误。建议?

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_BFExecutor", referenced from:
    objc-class-ref in Parse(BFTask+Private.o)
    l_OBJC_$_CATEGORY_BFExecutor_$_Background in Parse(BFTask+Private.o)
  "_OBJC_CLASS_$_BFTask", referenced from:
    objc-class-ref in Parse(PSObject.o)
    objc-class-ref in Parse(PFFile.o)
    objc-class-ref in Parse(PFNetworkCommandRunner.o)
    objc-class-ref in Parse(PFQuery.o)
    objc-class-ref in Parse(PFRetryingCommandRunner.o)
    objc-class-ref in Parse(PFTaskQueue.o)
    objc-class-ref in Parse(PFUser.o)
    ...
  "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:
    objc-class-ref in Parse(PFObject.o)
    objc-class-ref in Parse(PFCommandCache.o)
    objc-class-ref in Parse(PFFile.o)
    objc-class-ref in Parse(PFNetworkCommandRunner.o)
    objc-class-ref in Parse(BFTask+Private.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
4

1 回答 1

9

您还需要添加 Bolts.framework。这就是为什么您会收到这些错误!:-)

于 2014-09-02T13:48:05.030 回答