赞
踩
unity3d导出xcode项目使用afnetworking 3框架导致如下问题出现:
Undefined symbols for architecture armv7:
"_kUTTagClassMIMEType", referenced from:
-[AFStreamingMultipartFormData appendPartWithFileURL:name:error:] in AFURLRequestSerialization.o
"_kUTTagClassFilenameExtension", referenced from:
-[AFStreamingMultipartFormData appendPartWithFileURL:name:error:] in AFURLRequestSerialization.o
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
-[AFStreamingMultipartFormData appendPartWithFileURL:name:error:] in AFURLRequestSerialization.o
"_UTTypeCopyPreferredTagWithClass", referenced from:
-[AFStreamingMultipartFormData appendPartWithFileURL:name:error:] 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)
解决过程:
这是缺少MobileCoreServices.framework导致
引入MobileCoreServices.framework即可
-------------------------------------------------------------
参考链接:
http://blog.csdn.net/wsk_123_123/article/details/17301355
(虽然是不同的框架,但都是一样的问题引起)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。