Last active
March 28, 2016 18:03
-
-
Save pilot34/c75362aec17ba7f7670e to your computer and use it in GitHub Desktop.
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.2' | |
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', :commit => "303b1e9625a80b21e195e7a58034f33a63edbeb1" } | |
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