-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpayjp-react-native.podspec
27 lines (23 loc) · 1.04 KB
/
payjp-react-native.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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
payjp_sdk = JSON.parse(File.read(File.join(__dir__, 'sdkconfig.json')))
Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.homepage = package['homepage']
s.license = package['license']
s.author = { package['author']['name'] => package['author']['email'] }
s.platform = :ios, "10.0"
s.source = { :path => 'ios' }
s.source_files = "ios/Classes/**/*.{h,m}"
s.public_header_files = "ios/Classes/**/*.h"
s.requires_arc = true
s.static_framework = true
s.dependency "React-Core"
s.dependency 'PAYJP', "~> #{payjp_sdk['ios']}"
# NOTE: If you need to scan card in your card form, please add the following dependency to your Podfile directly.
# as default, we don't include this dependency because it causes a issue in arm64 simulator build.
# s.dependency 'CardIO', '~> 5.4.1'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.2'
end