ios中使用zxing遇到的问题
2013-06-14 13:55
381 查看
1.使用zxing的方法参考文档http://blog.csdn.net/icash/article/details/7727299。
2.如果你项目中使用了zxing,但是在xcdoe升级到4.5以后出现Incompatible pointer types sending 'Class' (aka 'Class *') to parameter of type 'id<NSCopying>'错误,解决办法:重新下载更新版本的ZXing,
可以使用命令下载最新版本:svn checkout http://zxing.googlecode.com/svn/trunk/
zxing-read-only。
3.如果出现了问题Undefined symbols for architecture
i386"std::string::c_str() const", referenced from。。。。,
将你项目中的Apple LLVM compiler 4.1 - language中的 c Language Dialect、c++ Language Dialect、c++ standard Library设置成下图所选的值。参考http://stackoverflow.com/questions/12665457/zxing-in-xcode-4-5-and-ios-6
4.编译成功往真机上装的时候出现Choose a destination with
a supported architecture in order to run on this device ,由于ios设备不支持armv7s,所以必须将Architectures设置为armv6,但是仅仅需要改动valid architectures就行,不要改动architectures,否则容易引起真机不运行。把architectures改为$(ARCHS_STANDARD_32_BIT)就可以撞到手机上了。见http://blog.sina.com.cn/s/blog_90a0ad8d01013uuh.html
2.如果你项目中使用了zxing,但是在xcdoe升级到4.5以后出现Incompatible pointer types sending 'Class' (aka 'Class *') to parameter of type 'id<NSCopying>'错误,解决办法:重新下载更新版本的ZXing,
可以使用命令下载最新版本:svn checkout http://zxing.googlecode.com/svn/trunk/
zxing-read-only。
3.如果出现了问题Undefined symbols for architecture
i386"std::string::c_str() const", referenced from。。。。,
将你项目中的Apple LLVM compiler 4.1 - language中的 c Language Dialect、c++ Language Dialect、c++ standard Library设置成下图所选的值。参考http://stackoverflow.com/questions/12665457/zxing-in-xcode-4-5-and-ios-6
4.编译成功往真机上装的时候出现Choose a destination with
a supported architecture in order to run on this device ,由于ios设备不支持armv7s,所以必须将Architectures设置为armv6,但是仅仅需要改动valid architectures就行,不要改动architectures,否则容易引起真机不运行。把architectures改为$(ARCHS_STANDARD_32_BIT)就可以撞到手机上了。见http://blog.sina.com.cn/s/blog_90a0ad8d01013uuh.html
相关文章推荐
- ios使用zxing遇到的问题
- ios中使用zxing遇到的问题
- IOS AFNetworking 使用时遇到的问题及解决方法
- iOS 笔记-AFN使用中的遇到的问题
- 【转】使用itms-services从浏览器发布iOS App遇到的问题总结
- iOS开发之WKWebView的使用以及遇到的问题
- iOS开发工具-如何使用网络封包分析工具Charles,通过配置proxy对http、https、tcp、udp 等协议的请求响应过程交互信息进行分析、判断、解决我们移动开发中的遇到的各种实际问题。
- 使用ionic2移动应用在IOS中遇到的问题
- iOS开发-使用UIImagePickerController遇到的问题
- iOS 使用ASIHTTPRequest 遇到的问题总结
- iOS 图片缓存框架SDWebImage使用方法(欢迎提建议和分享遇到的问题)
- iOS: 使用AVAudioRecorder中遇到的问题
- iOS开发中使用SCRecorder进行视频裁剪遇到的问题
- ios 使用cocoapods pod install 或者pod upadate遇到 abort trap:6问题
- 【汇总】iOS开发及Xcode使用中遇到的一些报错问题汇总
- iOS中使用轮播图遇到的问题
- iOS使用IQKeyboardManager 的遇到的问题
- iOS UITableView下拉刷新上拉加载更多MJRefresh类库(推荐)使用初级剑侠篇(欢迎提建议和分享遇到的问题)
- iOS使用TFHpple解析HTML遇到的一些问题
- [iOS开发]使用GCD遇到的问题