Files
purchases-ios/RevenueCatUI.podspec
T
NachoSotoandAndy Boedo af08736775 RevenueCatUI: added support to other deployment targets (#3392)
Follow up to #3378.

This allows us to link both `RevenueCat` and `RevenueCatUI` from
`PurchasesHybridCommon` supporting the same platforms.
The actual types might not be available in some platforms / versions,
but we can detect that at compile time.

See
https://app.circleci.com/pipelines/github/RevenueCat/purchases-hybrid-common/2564/workflows/ea6a4e24-e1eb-4c7a-a930-173945732999/jobs/10352

---------

Co-authored-by: Andy Boedo <andresboedo@gmail.com>
2023-11-08 07:35:19 -08:00

42 lines
1.5 KiB
Ruby

Pod::Spec.new do |s|
s.name = "RevenueCatUI"
s.version = "4.31.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 = '11.0'
s.watchos.deployment_target = '6.2'
s.tvos.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.source_files = 'RevenueCatUI/**/*.swift'
s.dependency 'RevenueCat', s.version.to_s
s.resource_bundles = {
'RevenueCat_RevenueCatUI' => [
# Note: these have to match the values in Package.swift
'RevenueCatUI/Resources/background.jpg',
'RevenueCatUI/Resources/icons.xcassets',
]
}
end