ASIHttpRequest "_UTTypeCopyPreferredTagWithClass", referenced from:
来源:互联网 发布:如何将linux移植到arm 编辑:程序博客网 时间:2024/05/21 22:01
错误代码:
Undefined symbols for architecture x86_64:
"_SCDynamicStoreCopyProxies", referenced from:
-[ASIHTTPRequest configureProxies] in ASIHTTPRequest.o
"_deflate", referenced from:
-[ASIDataCompressor compressBytes:length:error:shouldFinish:] in ASIDataCompressor.o
"_deflateEnd", referenced from:
-[ASIDataCompressor closeStream] in ASIDataCompressor.o
"_deflateInit2_", referenced from:
-[ASIDataCompressor setupStream] in ASIDataCompressor.o
"_inflate", referenced from:
-[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o
"_inflateEnd", referenced from:
-[ASIDataDecompressor closeStream] in ASIDataDecompressor.o
"_inflateInit2_", referenced from:
-[ASIDataDecompressor setupStream] in ASIDataDecompressor.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方案,添加框架和动态库
IOS:
http://allseeing-i.com/ASIHTTPRequest/Setup-instructions
MacOS:
Using ASIHTTPRequest in a Mac OS X project
To use ASIHTTPRequest in a Mac project, you'll need to link against:
SystemConfiguration.framework
libz (as above)
CoreServices.framework
CFNetwork is part of the CoreServices framework on Mac OS X.
Unless you are writing a console-based application, your application is probably already setup to link with CoreServices, but if not, simply add CoreServices.framework in the same way as described above.
- ASIHttpRequest "_UTTypeCopyPreferredTagWithClass", referenced from:
- ASIHttpRequest "_UTTypeCopyPreferredTagWithClass", referenced from:
- AFNetworking报错"_UTTypeCopyPreferredTagWithClass", referenced from: _AFContentTypeForPathExtens
- AFNetworking报错"_UTTypeCopyPreferredTagWithClass", referenced from: _AFContentTypeForPathExtens
- 程序报错:”_SCNetworkReachabilityCreateWithAddress", referenced from:或 "_UTTypeCopyPreferredTagWithClass"
- 关于编译错误:"_OBJC_CLASS_$_XXXXXX", referenced from:
- "_OBJC_CLASS_$ [文件名1]referenced from in[文件名2]:ld: symbol(s) not found问题解决办法
- ASIHTTPRequest -- 断点续传
- "_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
- "_OBJC_CLASS_$_Play", referenced from:
- ___cxa_pure_virtual", referenced from
- _OBJC_CLASS_$_QQApiInterface", referenced from
- _lame_close,referenced from错误
- "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
- _OBJC_CLASS_$_TYAudioTool", referenced from
- "_dns_free_resource_record", referenced from:问题
- "_OBJC_CLASS_$_CMMotionManager", referenced from:
- _OBJC_CLASS_$_ClassName", referenced from:
- Sqlite3 命令行 显示中文为乱码解决方案
- cassandra的数据类型
- springmvc+activiti 完美整合- 流程在线设计+代码生成器+UI快速开发库,提高一半的开发效率
- 分布式系统原理要点
- Ruby 1.9 - invalid multibyte char (US-ASCII)
- ASIHttpRequest "_UTTypeCopyPreferredTagWithClass", referenced from:
- Struts2和Servlet下载文件的区别
- linq学习链接
- 要毕业了,不是程序员,不是研究僧,是个雕栏外的小书童
- Python中的easy_install
- RCP-其他类型对话框
- 让所有浏览器支持max-height、min-height CSS样式
- 第三次作业
- WINCE API集合