2

我是 XCode 和 iOS 的新手。我想BD在远程 Web 服务上创建一个。我的问题是这个错误:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CJSONDeserializer", referenced from:
      objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我有一个目标,包含带有 viewController.h 和 .m 的项目组以及带有 JSON 库的其他组。也许,我必须配置一些东西。我不知道。

4

1 回答 1

3

It's very similar:

  1. Select the project in the project navigator.
  2. Select the Target in the detail view.
  3. Select the Build Phase tab.
  4. Expand the Compiled Sources section
  5. Add the file CJSONDeserializer.m if it is not present there.

This will hopefully solve your problem

于 2012-09-03T19:16:40.383 回答