-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathJDScan.podspec
executable file
·32 lines (28 loc) · 1.26 KB
/
JDScan.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
Pod::Spec.new do |spec|
spec.name = 'JDScan'
spec.version = '2.0.7'
spec.summary = 'ios opencv zxing scan wrapper'
spec.homepage = 'https://github.com/JDongKhan'
spec.license = 'MIT'
spec.authors = {'WJD' => '419591321@qq.com'}
spec.platform = :ios, '8.0'
spec.source = {:git => 'https://github.com/JDongKhan/JDScan.git', :tag => spec.version}
spec.requires_arc = true
# spec.prefix_header_contents = '#import <Foundation/Foundation.h>'
spec.ios.deployment_target = '8.0'
spec.default_subspec = 'UI'
spec.subspec 'Scanner' do |scanner|
scanner.source_files = 'JDScan/Scanner/**/*.{h,m,mm}'
# scanner.ios.frameworks = 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'ImageIO', 'QuartzCore'
# scanner.prefix_header_contents = '#import "JDZXingWrapper.h"'
scanner.vendored_frameworks = 'JDScan/Frameworks/*.framework'
scanner.libraries = 'c++','c','c++abi'
scanner.dependency 'ZXingObjC', '~> 3.6.5'
end
spec.subspec 'UI' do |ui|
ui.source_files = 'JDScan/UI/*.{h,m}'
ui.resource = 'JDScan/UI/CodeScan.bundle'
ui.dependency 'JDScan/Scanner'
# ui.prefix_header_contents = '#import "JDScanView.h"'
end
end