Permalink
Browse files

[Add] ZXingObjC (new lib with initial versions) 1.7 and 2.0.1

  2.0 contains errors, see bug report #10 on ZXingObjC project:
  TheLevelUp/ZXingObjC#10
  • Loading branch information...
1 parent 7cb873a commit 13e824bebf2ab78907ef9f6b9dcccc578a753cfe @jerolimov jerolimov committed Oct 21, 2012
Showing with 41 additions and 0 deletions.
  1. +20 −0 ZXingObjC/1.7/ZXingObjC.podspec
  2. +21 −0 ZXingObjC/2.0.1/ZXingObjC.podspec
@@ -0,0 +1,20 @@
+Pod::Spec.new do |s|
+ s.name = "ZXingObjC"
+ s.version = "1.7"
+ s.summary = "An Objective-C Port of ZXing."
+ s.homepage = "https://github.com/TheLevelUp/ZXingObjC"
+ s.author = "ZXing team (http://code.google.com/p/zxing/people/list) and TheLevelUp"
+
+ s.license = { :type => 'Apache License 2.0', :file => 'COPYING' }
+
+ s.source = { :git => "https://github.com/TheLevelUp/ZXingObjC.git", :tag => "v1.7" }
+
+ s.source_files = 'ZXingObjC/**/*.{h,cpp,m,mm}'
+ s.requires_arc = false
+
+# workaround for a missing import in objc/src/ZXing/ZXImage.mm
+# s.prefix_header_contents = '#import <ImageIO/CGImageSource.h>'
+
+ s.libraries = 'stdc++', 'iconv'
+ s.frameworks = 'ImageIO', 'CoreGraphics', 'CoreVideo', 'CoreMedia', 'QuartzCore', 'AVFoundation', 'AudioToolbox'
+end
@@ -0,0 +1,21 @@
+Pod::Spec.new do |s|
+ s.name = "ZXingObjC"
+ s.version = "2.0.1"
+ s.summary = "An Objective-C Port of ZXing."
+ s.homepage = "https://github.com/TheLevelUp/ZXingObjC"
+ s.author = "ZXing team (http://code.google.com/p/zxing/people/list) and TheLevelUp"
+
+ s.license = { :type => 'Apache License 2.0', :file => 'COPYING' }
+
+ s.source = { :git => "https://github.com/TheLevelUp/ZXingObjC.git", :tag => "v2.0.1" }
+
+# s.source_files = FileList['ZXingObjC/**/*.{h,cpp,m,mm}'].exclude(/.*ZXCode128Writer.m/)
+ s.source_files = 'ZXingObjC/**/*.{h,cpp,m,mm}'
+ s.requires_arc = false
+
+# workaround for a missing import in objc/src/ZXing/ZXImage.mm
+# s.prefix_header_contents = '#import <ImageIO/CGImageSource.h>'
+
+ s.libraries = 'stdc++', 'iconv'
+ s.frameworks = 'ImageIO', 'CoreGraphics', 'CoreVideo', 'CoreMedia', 'QuartzCore', 'AVFoundation', 'AudioToolbox'
+end

0 comments on commit 13e824b

Please sign in to comment.