24

プロジェクトに AFNetworking フレームワークを追加すると、次のエラーが発生しました:-

Undefined symbols for architecture i386:
  "_UTTypeCopyPreferredTagWithClass", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_kUTTagClassFilenameExtension", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_kUTTagClassMIMEType", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

SDK iOS 6.0でxcode 4.5を使用しています

4

1 に答える 1

95

プロジェクトに次のフレームワークを追加します。

MobileCoreServices.framework
SystemConfiguration.framework
于 2013-10-08T06:34:31.740 に答える