2023-11-01 15:50:59 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = "RevenueCatUI"
|
2026-11-06 10:05:31 -06:00
|
|
|
s.version = "5.103.0-SNAPSHOT"
|
2023-11-01 15:50:59 -07:00
|
|
|
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'
|
2026-01-28 08:21:24 +01:00
|
|
|
s.swift_version = '5.8'
|
2023-11-01 15:50:59 -07:00
|
|
|
|
2023-11-08 07:35:19 -08:00
|
|
|
# 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.
|
2024-07-01 12:37:21 -07:00
|
|
|
s.ios.deployment_target = '13.0'
|
2023-11-08 07:35:19 -08:00
|
|
|
s.watchos.deployment_target = '6.2'
|
2024-07-01 12:37:21 -07:00
|
|
|
s.tvos.deployment_target = '13.0'
|
|
|
|
|
s.osx.deployment_target = '10.15'
|
2024-01-29 17:21:53 -08:00
|
|
|
s.visionos.deployment_target = '1.0'
|
2023-11-01 15:50:59 -07:00
|
|
|
|
|
|
|
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
|
|
|
|
|
|
|
|
|
s.source_files = 'RevenueCatUI/**/*.swift'
|
|
|
|
|
|
|
|
|
|
s.dependency 'RevenueCat', s.version.to_s
|
|
|
|
|
|
|
|
|
|
s.resource_bundles = {
|
|
|
|
|
'RevenueCat_RevenueCatUI' => [
|
2024-02-09 12:37:26 -08:00
|
|
|
# This is done automatically by SPM but must be added manually here:
|
|
|
|
|
'RevenueCatUI/Resources/*.lproj/*.strings',
|
2023-11-01 15:50:59 -07:00
|
|
|
# Note: these have to match the values in Package.swift
|
|
|
|
|
'RevenueCatUI/Resources/icons.xcassets',
|
2026-03-04 11:40:23 -06:00
|
|
|
'RevenueCatUI/Resources/Media.xcassets'
|
2023-11-01 15:50:59 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
end
|