-
Notifications
You must be signed in to change notification settings - Fork 22
/
HCaptcha.podspec
34 lines (29 loc) · 1.31 KB
/
HCaptcha.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
31
32
33
34
Pod::Spec.new do |s|
s.name = 'HCaptcha'
s.version = '2.9.2'
s.summary = 'HCaptcha for iOS'
s.swift_version = '5.0'
s.description = <<-DESC
Add [hCaptcha](https://hcaptcha.com) to your project. This library
automatically handles HCaptcha's events and retrieves the validation token or notifies you to present the challenge if
invisibility is not possible.
DESC
s.homepage = 'https://github.com/hCaptcha/HCaptcha-ios-sdk'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'hCaptcha Team' => '[email protected]' }
s.source = { :git => 'https://github.com/hCaptcha/HCaptcha-ios-sdk.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/hCaptcha'
s.documentation_url = 'https://github.com/hCaptcha/HCaptcha-ios-sdk'
s.ios.deployment_target = '12.0'
s.default_subspecs = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'HCaptcha/Classes/*'
core.resource_bundles = { 'HCaptcha_Privacy' => ['HCaptcha/Resources/PrivacyInfo.xcprivacy'] }
core.frameworks = ['WebKit', 'JavaScriptCore']
end
s.subspec 'RxSwift' do |rx|
rx.source_files = 'HCaptcha/Classes/Rx/**/*'
rx.dependency 'HCaptcha/Core'
rx.dependency 'RxSwift', '~> 6.2.0'
end
end