Permalink
Browse files

[Fix] ZBarSDK.

  • Loading branch information...
fabiopelosin committed Jul 4, 2012
1 parent cdd0696 commit adb37eb225ba5e2171f2ba3edb0fae12ac3938f9
Showing with 4 additions and 3 deletions.
  1. +4 −3 ZBarSDK/1.2.2/ZBarSDK.podspec
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
s.version = '1.2.2'
s.platform = :ios
s.license = 'GNU LGPL 2.1'
- s.summary = 'QR and barcode scan library'
+ s.summary = 'QR and barcode scan library.'
s.homepage = 'http://zbar.sourceforge.net/'
s.author = { 'Jeff Brown' => 'spadix@users.sourceforge.net' }
s.source = { :hg => 'http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar', :revision => 'iPhoneSDK-1.2.2' }
@@ -24,14 +24,15 @@ Pod::Spec.new do |s|
s.library = 'iconv'
- s.clean_paths = FileList['*'].exclude(/(include|zbar|iphone|README|LICENSE)$/)
-
s.xcconfig = { "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*][arch=*]" => 'ZBarReaderViewImpl_Simulator.m',
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=*]" => 'ZBarReaderViewImpl_Capture.m ZBarCaptureReader.m',
"GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) NDEBUG=1' }
s.prefix_header_file = 'iphone/include/prefix.pch'
+ s.compiler_flags = '-Wno-tautological-compare', '-Wno-missing-prototypes', '-Wno-logical-op-parentheses',
+ '-Wno-bitwise-op-parentheses', '-Wno-incompatible-pointer-types'
+
# Maintain the dir structure for headers
def s.copy_header_mapping(from)
from

0 comments on commit adb37eb

Please sign in to comment.