ASIHTTPRequest开源类项目导入问题及解决方法
来源:互联网 发布:淘宝轮毂店 编辑:程序博客网 时间:2024/05/16 17:01
在静态库工程中添加ASIHTTPRequest导出lib.a,放到工程里编译出一下错:
Undefined symbols for architecture armv7:
"_deflate", referenced from:
-[ASIDataCompressor compressBytes:length:error:shouldFinish:] in lib.a(ASIDataCompressor.o)
"_inflateInit2_", referenced from:
-[ASIDataDecompressor setupStream] in lib.a(ASIDataDecompressor.o)
"_deflateEnd", referenced from:
-[ASIDataCompressor closeStream] in lib.a(ASIDataCompressor.o)
"_inflateEnd", referenced from:
-[ASIDataDecompressor closeStream] in lib.a(ASIDataDecompressor.o)
"_kUTTagClassMIMEType", referenced from:
+[ASIHTTPRequest mimeTypeForFileAtPath:] in lib.a(ASIHTTPRequest.o)
"_kUTTagClassFilenameExtension", referenced from:
+[ASIHTTPRequest mimeTypeForFileAtPath:] in lib.a(ASIHTTPRequest.o)
"_deflateInit2_", referenced from:
-[ASIDataCompressor setupStream] in lib.a(ASIDataCompressor.o)
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
+[ASIHTTPRequest mimeTypeForFileAtPath:] in lib.a(ASIHTTPRequest.o)
"_inflate", referenced from:
-[ASIDataDecompressor uncompressBytes:length:error:] in lib.a(ASIDataDecompressor.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
+[ASIHTTPRequest mimeTypeForFileAtPath:] in lib.a(ASIHTTPRequest.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方法:
缺系统库的原因,添加以下库
libz.dylib
SystemConfiguration.framework
MobileCoreAServices.framework
CFNetwork.framework
完成
- ASIHTTPRequest开源类项目导入问题及解决方法
- ASIHTTPRequest开源类项目导入问题及解决方法
- ASIHTTPRequest开源类项目导入问题及解决方法
- ASIHTTPRequest开源类项目导入问题及解决方
- 将项目导入AS遇到的问题及解决方法集锦
- eclipse项目导入android studio 各类问题及解决方法
- eclipse 项目导入android studio 各类问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- IOS5:升级到iOS5后ASIHttpRequest库问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- 升级到iOS5后ASIHttpRequest库问题及解决方法
- [一般问题] android导入项目中遇到的一些问题及解决方法
- AS 导入github开源项目可能会遇到的问题及解决方法
- ARC ASIHttpRequest block时出错circle retain的问题及解决方法
- ASIHttpRequest block在ARC下使用时出错circle retain的问题及解决方法
- SIFT检测特征点之去除边缘不稳定噪声点
- HBase表的架构原理
- 驻足,为了更好的驶向下一站
- 黄昏时刻挂满树梢的AE相册模板
- Python基础教程笔记——字典:当索引不好用时
- ASIHTTPRequest开源类项目导入问题及解决方法
- java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
- JAVA 计算地球上任意两点(经纬度)距离
- 仁义礼智信,温良恭俭让
- mysql explain 的type解释
- 求平方根——分治法
- Multipath多路径冗余全解析
- Sublime报Decode error - output not utf-8 or cp936 错误的解决办法
- bean的5种作用域