`
ytwhw
  • 浏览: 97269 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
阅读更多

ASIHTTPRequest 为ASIHTTPRequest开源项目提供的类,网上下载后添加到自己的工程。同时工程中需要导入的系统类库如下:

libz.dylib

SystemConfiguration.framework

MobileCoreAServices.framework

CFNetwork.framework

导入后,编译OK!图例如下:



 

如果导入类库中缺少MobileCoreAServices.framework类库,会报如下错误:

<!--StartFragment -->
Undefined symbols for architecture i386:
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
      +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
  "_UTTypeCopyPreferredTagWithClass", referenced from:
      +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
  "_kUTTagClassFilenameExtension", referenced from:
      +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
  "_kUTTagClassMIMEType", referenced from:
      +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
  • 大小: 61.4 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics