-
Notifications
You must be signed in to change notification settings - Fork 84
/
RNPurchases.podspec
30 lines (24 loc) · 1.07 KB
/
RNPurchases.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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |spec|
spec.name = "RNPurchases"
spec.summary = "Cross-platform subscriptions framework for ReactNative"
spec.version = package['version']
spec.authors = package['author']
spec.homepage = "https://github.com/RevenueCat/react-native-purchases"
spec.license = package['license']
spec.platforms = {:ios => "13.0", :tvos => "13.0"}
spec.source = { :git => "https://github.com/RevenueCat/react-native-purchases.git" }
spec.source_files = "ios/**/*.{h,m,swift}"
spec.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
# Ignore the Purchases.framework that would get downloaded by the download script, meant for
# developers who don't want to use Cocoapods
spec.exclude_files = [
"ios/Purchases.framework",
"ios/PurchasesHybridCommon.framework",
"ios/PurchasesHybridCommonUI.framework"
]
spec.dependency "React-Core"
spec.dependency "PurchasesHybridCommon", '13.14.0'
spec.swift_version = '5.7'
end