gupta
gupta

Reputation: 403

Error in adding AFNetworking framework in the project

Adding AFNetworking framework in the project I got the following errors:-

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)

I am using xcode 4.5 with sdk iOS 6.0

Upvotes: 24

Views: 10017

Answers (1)

OnkarK
OnkarK

Reputation: 3793

Add following frameworks in your project:

MobileCoreServices.framework
SystemConfiguration.framework

Upvotes: 95

Related Questions