Last active
December 28, 2017 16:51
-
-
Save pilot34/fbe50640fad9f22b989795270346a6ed to your computer and use it in GitHub Desktop.
RMStore.podspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = 'RMStore' | |
s.version = '0.7.3' | |
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/Wattpad/RMStore.git' } | |
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-Universal' | |
end | |
s.subspec 'TransactionReceiptVerifier' do |trv| | |
trv.dependency 'RMStore/Core' | |
trv.source_files = 'RMStore/Optional/RMStoreTransactionReceiptVerifier.{h,m}' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment