Search code examples
ioslinkedin-api

symbol(s) not found for architecture armv7


I am integrate LinkedInIOS Login Demo with my current application from: https://github.com/jeyben/IOSLinkedInAPI

Also add supporting classes of "AFNetworking".

And It's gives me an error as mention below:

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

Please suggest me any solution about it. My deployment target was 5.0.


Solution

  • That problem was resolved. As possible issue for that kind of problem was shown at below question:

    https://stackoverflow.com/questions/6429494/...

    But in my case I need to add MobileCoreServices.framework

    By adding this framework problem was resolved.

    Thanks.