forked from RevenueCat/react-native-purchases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNPurchases.podspec
28 lines (22 loc) · 928 Bytes
/
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
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.platform = :ios, "9.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 downloaded Purchases.framework
spec.exclude_files = [
"ios/Purchases.framework",
"ios/PurchasesHybridCommon.framework"
]
spec.dependency "React-Core"
spec.dependency "PurchasesHybridCommon", '1.9.1'
spec.swift_version = '5.0'
end