Files
purchases-ios/RevenueCatUI.podspec
T
NachoSoto 16a3f9df96 CocoaPods: enabled visionOS (#3262)
### Changes:
- Added `visionOS` to list of deployment targets in `Podspec`
- ~~Updated `Swift` version to 5.7 (see https://swiftversion.net), Xcode
14.0 is required, and that's Swift 5.7. We no longer support 5.5~~ (done
in a previous PR already)
- Added `visionOS` CocoaPods lint check to `build_visionos`
- Added `VISION_OS` to Podspec (see #2989)
- ~~Changed `visionOS` CI job to use `Xcode 15 beta 8` (see
https://discuss.circleci.com/t/xcode-15-rc-released-important-notice-for-visionos-sdk-users/49278)~~
(no longer needed)

Fixes
https://community.revenuecat.com/sdks-51/how-to-support-visionos-via-cocoapods-3499
2024-01-29 17:21:53 -08:00

43 lines
1.6 KiB
Ruby

Pod::Spec.new do |s|
s.name = "RevenueCatUI"
s.version = "4.32.4"
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.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' => [
# Note: these have to match the values in Package.swift
'RevenueCatUI/Resources/background.jpg',
'RevenueCatUI/Resources/icons.xcassets',
]
}
end