1
txx 2014-03-11 12:31:23 +08:00 1
我改了一下...其他地方都是 unused 错误...用 宏 标记一下 就好了 http://stackoverflow.com/questions/18423449/ignore-unused-entity-issue-unused-variable-in-a-single-file
应该可以修改编译选项 关闭掉... |
2
sobigfish 2014-03-11 12:41:29 +08:00 1
zxing 的iOS 分支不是关了么?
用的port版本? |
6
jeremyLyu 2014-03-20 11:02:28 +08:00 1
在工程ZXingWidget中的 build settings
在 Apple LLVM 5.1 - Custom Compiler Flags项目中 将Other Warning Flags的所有项目给删除掉。 然后 重新编译就可以了 |
7
bingyingu 2014-04-09 11:49:11 +08:00
6楼正解哦!
这样删除不知道,有什么后遗症吗? |
8
gancl 2014-04-13 23:36:31 +08:00
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: http://stackoverflow.com/questions/22411565/build-error-on-ios-7-1-zxing |