Repository navigation
Expand file tree
/
Copy pathHCaptcha.podspec
More file actions
40 lines (34 loc) · 1.53 KB
/
Copy pathHCaptcha.podspec
File metadata and controls
40 lines (34 loc) · 1.53 KB
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
35
36
37
38
39
40
Pod::Spec.new do |s|
s.name = 'HCaptcha'
s.version = '3.1.0'
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' => 'support@hcaptcha.com' }
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/*', 'HCaptcha/Classes/Core/**/*'
core.exclude_files = 'HCaptcha/Classes/Journeylitics/**/*'
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.9.0'
end
s.subspec 'Journeylitics' do |jl|
jl.source_files = 'HCaptcha/Classes/Journeylitics/**/*'
jl.dependency 'HCaptcha/Core'
end
end