我正在将 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。
最佳答案
那个问题已经解决了。此类问题的可能问题显示在以下问题中:
https://stackoverflow.com/questions/6429494/...
但在我的例子中,我需要添加 MobileCoreServices.framework
通过添加这个框架,问题得到解决。
谢谢。
关于ios - 找不到体系结构 armv7 的符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24015813/