我将LinkedInIOS登录演示与我当前的应用程序集成在一起: https://github.com/jeyben/IOSLinkedInAPI
还添加支持类" AFNetworking"。
如下所述,它给了我一个错误:
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)
请建议我解决它。我的部署目标是5.0。
答案 0 :(得分:5)
这个问题已经解决了。对于这类问题可能出现的问题如下所示:
https://stackoverflow.com/questions/6429494/...
但在我的情况下,我需要添加MobileCoreServices.framework
通过添加此框架问题得到解决。
感谢。