forked from zxingify/zxingify-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZXingObjC.podspec
52 lines (42 loc) · 1.59 KB
/
ZXingObjC.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Pod::Spec.new do |s|
s.name = 'ZXingObjC'
s.version = '3.1.0'
s.summary = 'An Objective-C Port of the ZXing barcode framework.'
s.homepage = 'https://github.com/TheLevelUp/ZXingObjC'
s.author = 'ZXingObjC team'
s.license = { :type => 'Apache License 2.0', :file => 'COPYING' }
s.source = { :git => 'https://github.com/TheLevelUp/ZXingObjC.git', :tag => "#{s.version}" }
s.requires_arc = true
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC" }
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.ios.frameworks = 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'ImageIO', 'QuartzCore'
s.osx.frameworks = 'AVFoundation', 'CoreMedia', 'QuartzCore'
s.default_subspec = 'All'
s.subspec 'All' do |ss|
ss.source_files = 'ZXingObjC/**/*.{h,m}'
end
s.subspec 'Aztec' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/aztec/**/*.{h,m}'
end
s.subspec 'Core' do |ss|
ss.source_files = 'ZXingObjC/client/*.{h,m}', 'ZXingObjC/common/**/*.{h,m}', 'ZXingObjC/core/*.{h,m}', 'ZXingObjC/multi/*.{h,m}'
end
s.subspec 'DataMatrix' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/datamatrix/**/*.{h,m}'
end
s.subspec 'MaxiCode' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/maxicode/**/*.{h,m}'
end
s.subspec 'OneD' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/oned/**/*.{h,m}', 'ZXingObjC/client/result/*.{h,m}'
end
s.subspec 'QRCode' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/qrcode/**/*.{h,m}'
end
end