-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathWultraPassphraseMeter.podspec
44 lines (36 loc) · 1.65 KB
/
WultraPassphraseMeter.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
35
36
37
38
39
40
41
42
43
44
Pod::Spec.new do |s|
s.name = 'WultraPassphraseMeter'
s.version = '1.1.0'
s.summary = 'Streng tester for passwords and passcodes.'
s.description = 'A library that checks the strength of a pin or a password.'
s.social_media_url = 'https://twitter.com/wultra'
s.homepage = 'https://wultra.com'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { 'Wultra s.r.o.' => '[email protected]' }
s.source = { :git => 'https://github.com/wultra/passphrase-meter.git', :tag => s.version.to_s }
s.swift_versions = ['5.0']
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.15'
s.default_subspec = 'Core'
s.subspec 'Core' do |sub|
sub.pod_target_xcconfig = {'SWIFT_INCLUDE_PATHS' => '$(PODS_TARGET_SRCROOT)/Source/src_native'}
sub.preserve_paths = 'Source/src_native/module.modulemap'
sub.source_files = 'Source/src_native/*.{c,h}', 'Source/src_ios/PasswordTester.swift'
sub.private_header_files = 'Source/src_native/*.{h}'
end
s.subspec 'Dictionary_czsk' do |sub|
sub.resources = 'dictionaries/czsk.dct'
sub.source_files = 'Source/src_ios/PasswordTester_czsk.swift'
sub.dependency 'WultraPassphraseMeter/Core'
end
s.subspec 'Dictionary_en' do |sub|
sub.resources = 'dictionaries/en.dct'
sub.source_files = 'Source/src_ios/PasswordTester_en.swift'
sub.dependency 'WultraPassphraseMeter/Core'
end
s.subspec 'Dictionary_ro' do |sub|
sub.resources = 'dictionaries/ro.dct'
sub.source_files = 'Source/src_ios/PasswordTester_ro.swift'
sub.dependency 'WultraPassphraseMeter/Core'
end
end