Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in adding AFNetworking framework in the project

Tags:

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

like image 487
gupta Avatar asked Oct 08 '13 06:10

gupta


1 Answers

Add following frameworks in your project:

MobileCoreServices.framework SystemConfiguration.framework 
like image 92
OnkarK Avatar answered Nov 25 '22 09:11

OnkarK