-
Notifications
You must be signed in to change notification settings - Fork 319
/
RevenueCatUI.podspec
44 lines (35 loc) · 1.69 KB
/
RevenueCatUI.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
43
44
Pod::Spec.new do |s|
s.name = "RevenueCatUI"
s.version = "5.10.0-SNAPSHOT"
s.summary = "UI library for RevenueCat paywalls."
s.description = <<-DESC
Save yourself the hassle of implementing a subscriptions backend. Use RevenueCat instead https://www.revenuecat.com/
DESC
s.homepage = "https://www.revenuecat.com/"
s.license = { :type => 'MIT' }
s.author = { "RevenueCat, Inc." => "support@revenuecat.com" }
s.source = { :git => "https://github.com/revenuecat/purchases-ios.git", :tag => s.version.to_s }
s.documentation_url = "https://docs.revenuecat.com/"
s.framework = 'SwiftUI'
s.swift_version = '5.7'
# RevenueCatUI APIs are not available in all these platforms / versions, however retaining this support at the Pod level
# allows us to depend on it in the same platforms as RevenueCat.
# Opening support allows us to depend on it in the same platforms as RevenueCat.
s.ios.deployment_target = '13.0'
s.watchos.deployment_target = '6.2'
s.tvos.deployment_target = '13.0'
s.osx.deployment_target = '10.15'
s.visionos.deployment_target = '1.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.source_files = 'RevenueCatUI/**/*.swift'
s.dependency 'RevenueCat', s.version.to_s
s.resource_bundles = {
'RevenueCat_RevenueCatUI' => [
# This is done automatically by SPM but must be added manually here:
'RevenueCatUI/Resources/*.lproj/*.strings',
# Note: these have to match the values in Package.swift
'RevenueCatUI/Resources/background.jpg',
'RevenueCatUI/Resources/icons.xcassets',
]
}
end