xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错
来源:互联网 发布:淘宝代运营合同诈骗 编辑:程序博客网 时间:2024/06/04 21:04
http://stackoverflow.com/questions/22411565/build-error-on-ios-7-1-zxing
#ifndef __CHECKSUM_EXCEPTION_H__ //this line causes the error.
#define __NOT_FOUND_EXCEPTION_H__
.....
.....
#endif // __CHECKSUM_EXCEPTION_H__
Looks like there are some underground compiler settings changes in XCode 5.1.
So to fix this issue you need add -w flag to ZXingWidget Other Warning Flags. This flag completely disable all compiler warnings.
Select ZXingWidget framework.
Select ZXingWidget target in ZXingWidget framework.
Press Build setting tab and type "other wa" in search.
Add -w parameter flag to Other Warning Flags.
Here is a screen with steps how to add this flag:
#ifndef __CHECKSUM_EXCEPTION_H__ //this line causes the error.
#define __NOT_FOUND_EXCEPTION_H__
.....
.....
#endif // __CHECKSUM_EXCEPTION_H__
Looks like there are some underground compiler settings changes in XCode 5.1.
So to fix this issue you need add -w flag to ZXingWidget Other Warning Flags. This flag completely disable all compiler warnings.
Select ZXingWidget framework.
Select ZXingWidget target in ZXingWidget framework.
Press Build setting tab and type "other wa" in search.
Add -w parameter flag to Other Warning Flags.
Here is a screen with steps how to add this flag:
0 0
- xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错
- 解决Xcode5.1编译ZXing出错的问题
- 升级到 Xcode5.1, iOS 7.1 之后,zxing 编译出错
- iOS7.1+Xcode5.1
- Xcode5.1 + iOS7真机调试步骤
- xcode5.1下发布app出错解决
- iOS7.1 Xcode5.1 编译 fftw 3.3.4
- IOS7.0 Xcode5 AutoLayout
- XCode5 IOS7 调试
- 体验下Xcode5与ios7
- 体验下Xcode5与ios7
- IOS7开发~Xcode5制作framework
- IOS7 Xcode5 下使用AutoLayout
- IOS7开发~Xcode5制作framework
- iOS7 Xcode5 键盘的处理
- IOS7.0 Xcode5 AutoLayout 备忘录
- IOS7开发~Xcode5制作framework
- iOS7 Xcode5 全程隐藏状态栏
- sqlite3相关
- AVL树
- [WebKit] JavaScriptCore解析--基础篇 (一)JSC与WebCore
- 凑辣荷丶换怂档屯览破擦丶笛丶北
- cocos2dx-Action动作
- xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错
- Eclipse中怎么清除Git用户名和密码
- C#中Math.Round()实现中国式四舍五入
- Bootstrap表格内容居中
- Android中实现显示手机联系人并调用
- Normalize.css源代码赏析
- 学习总结十:hadoop的伪分布安装
- C++primer学习笔记 第7章
- 关于HTML5属性placeHolder在手机浏览器不兼容问题