xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错

 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: 

xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错_第1张图片

你可能感兴趣的:(xcode5.1 iOS7.1 ZXing CHECKSUM_EXCEPTION_H 出错)