Permalink
Browse files

[Fix] ZBarSDK requires the original project structure which was no more

      provided (by the new CocoaPods version?). Replace the override
      copy_header_mapping hack with newer header_mappings_dir option.
  • Loading branch information...
jerolimov committed Sep 22, 2012
1 parent 83298a1 commit 1eac879145f8ada065c7849a8fd75468aca8467e
Showing with 2 additions and 5 deletions.
  1. +2 −5 ZBarSDK/1.2.2/ZBarSDK.podspec
@@ -20,6 +20,8 @@ Pod::Spec.new do |s|
'zbar/qrcode/{bch15_5,binarize,isaac,qrdec,qrdectxt,rs,util}.c',
'iphone/*.m'
+ s.header_mappings_dir = 'zbar'
+
s.frameworks = 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'QuartzCore'
s.library = 'iconv'
@@ -32,9 +34,4 @@ Pod::Spec.new do |s|
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
- end
end

0 comments on commit 1eac879

Please sign in to comment.