forked from getbouncer/cardscan-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CardScan.podspec
32 lines (28 loc) · 1.34 KB
/
CardScan.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 |s|
s.name = 'CardScan'
s.version = '1.0.5033'
s.summary = 'Scan credit cards'
s.description = <<-DESC
CardScan is a library for scanning credit cards.
DESC
s.homepage = 'https://cardscan.io'
s.license = { :type => 'Custom', :file => 'LICENSE' }
s.author = { 'Sam King' => '[email protected]' }
s.source = { :git => 'https://github.com/getbouncer/cardscan-ios.git', :tag => s.version.to_s }
# lint warning, who knows
#s.social_media_url = 'https://twitter.com/stk'
s.default_subspec = 'Core'
s.ios.deployment_target = '9.0'
s.swift_version = '5.0'
s.subspec 'Core' do |core|
core.source_files = 'CardScan/Classes/**/*'
core.resource_bundles = { 'CardScan' => ['CardScan/Assets/*.xcassets', 'CardScan/Assets/*.storyboard', 'CardScan/Assets/*.mlmodelc'] }
core.weak_frameworks = 'AVKit', 'CoreML', 'VideoToolbox', 'Vision', 'UIKit', 'AVFoundation'
end
s.subspec 'Stripe' do |stripe|
stripe.source_files = 'CardScan/Classes/**/*'
stripe.resource_bundles = { 'CardScan' => ['CardScan/Assets/*.xcassets', 'CardScan/Assets/*.storyboard', 'CardScan/Assets/*.mlmodelc'] }
stripe.weak_frameworks = 'AVKit', 'CoreML', 'VideoToolbox', 'Vision', 'UIKit', 'AVFoundation'
stripe.dependency 'Stripe'
end
end