mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
**This is an automatic release.** ### New Features * Paywalls with custom purchase and restore logic handlers (#3973) via James Borthwick (@jamesrb1) ### Bugfixes * Prevent paywall PurchaseHandler from being cleared on rerender (#4035) via Josh Holtz (@joshdholtz) * Update Purchase Tester for 5.0.0 (#4015) via Will Taylor (@fire-at-will) ### Dependency Updates * Bump fastlane from 2.221.0 to 2.221.1 (#3977) via dependabot[bot] (@dependabot[bot]) ### Other Changes * Bring official `xcodes` back to CI (#4029) via Cesar de la Vega (@vegaro) * Paywalls tester with sandbox purchases (#4024) via James Borthwick (@jamesrb1) * Update v5 migration guide to contain current latest version (#4019) via Toni Rico (@tonidero) * CI Build Docs Improvements (#4014) via Will Taylor (@fire-at-will) * Use available resource class for backend-integration-tests-offline-job (#4013) via Will Taylor (@fire-at-will) * Add `X-Preferred-Locales` header (#4008) via Cesar de la Vega (@vegaro) --------- Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com> Co-authored-by: Josh Holtz <me@joshholtz.com>
45 lines
1.7 KiB
Ruby
45 lines
1.7 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "RevenueCatUI"
|
|
s.version = "5.1.0"
|
|
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
|