forked from protikhonov/RMStore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RMStore.podspec
42 lines (36 loc) · 1.48 KB
/
RMStore.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
Pod::Spec.new do |s|
s.name = 'RMStore'
s.version = '0.7.1'
s.license = 'Apache 2.0'
s.summary = 'A lightweight iOS library for In-App Purchases that adds blocks and notifications to StoreKit, plus verification, persistence and downloads.'
s.homepage = 'https://github.com/robotmedia/RMStore'
s.author = 'Hermes Pique'
s.social_media_url = 'https://twitter.com/hpique'
s.source = { :git => 'https://github.com/robotmedia/RMStore.git', :tag => "v#{s.version}" }
s.platform = :ios, '7.0'
s.frameworks = 'StoreKit'
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'RMStore/*.{h,m}'
end
s.subspec 'KeychainPersistence' do |kp|
kp.dependency 'RMStore/Core'
kp.source_files = 'RMStore/Optional/RMStoreKeychainPersistence.{h,m}'
kp.frameworks = 'Security'
end
s.subspec 'NSUserDefaultsPersistence' do |nsudp|
nsudp.dependency 'RMStore/Core'
nsudp.source_files = 'RMStore/Optional/RMStoreUserDefaultsPersistence.{h,m}', 'RMStore/Optional/RMStoreTransaction.{h,m}'
end
s.subspec 'AppReceiptVerifier' do |arv|
arv.dependency 'RMStore/Core'
arv.platform = :ios, '7.0'
arv.source_files = 'RMStore/Optional/RMStoreAppReceiptVerifier.{h,m}', 'RMStore/Optional/RMAppReceipt.{h,m}'
arv.dependency 'OpenSSL', '~> 1.0'
end
s.subspec 'TransactionReceiptVerifier' do |trv|
trv.dependency 'RMStore/Core'
trv.source_files = 'RMStore/Optional/RMStoreTransactionReceiptVerifier.{h,m}'
end
end