-
Notifications
You must be signed in to change notification settings - Fork 95
/
TPInAppReceipt.podspec
37 lines (28 loc) · 1.2 KB
/
TPInAppReceipt.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
Pod::Spec.new do |s|
s.name = "TPInAppReceipt"
s.version = "3.4.1"
s.summary = "Reading and Validating In App Purchase Receipt Locally"
s.description = "A lightweight iOS/OSX library for reading and validating Apple In App Purchase Receipt locally. Pure swift, No OpenSSL!"
s.homepage = "https://github.com/tikhop/TPInAppReceipt"
s.license = "MIT"
s.source = { :git => "https://github.com/tikhop/TPInAppReceipt.git", :tag => "#{s.version}" }
s.author = { "tikhop" => "[email protected]" }
s.swift_versions = ['5.3']
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '6.2'
s.visionos.deployment_target = '1.0'
s.requires_arc = true
s.subspec 'Core' do |core|
core.exclude_files = "Sources/Objc/*.{swift}"
core.source_files = "Sources/*.{swift}"
core.resources = "Sources/AppleIncRootCertificate.cer", "Sources/StoreKitTestCertificate.cer", "Source/PrivacyInfo.xcprivacy"
core.dependency 'ASN1Swift', '~> 1.2.6'
end
s.subspec 'Objc' do |objc|
objc.source_files = "Sources/Objc/*.{swift}"
objc.dependency 'TPInAppReceipt/Core'
end
s.default_subspecs = 'Core'
end