当前位置:   article > 正文

unity3d导出xcode项目使用afnetworking 3框架导致_kUTTagClassMIMEType 问题解决方案_unity app 使用afnetworking

unity app 使用afnetworking

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

(虽然是不同的框架,但都是一样的问题引起)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/206218
推荐阅读
相关标签
  

闽ICP备14008679号