Repository navigation
Expand file tree
/
Copy pathVer-ID.podspec
More file actions
40 lines (39 loc) · 2.18 KB
/
Copy pathVer-ID.podspec
File metadata and controls
40 lines (39 loc) · 2.18 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 = "Ver-ID"
s.module_name = "VerIDUI"
s.version = "2.17.1"
s.summary = "Face detection and recognition"
s.homepage = "https://github.com/AppliedRecognition"
s.license = { :type => "COMMERCIAL", :file => "LICENCE.txt" }
s.author = "Jakub Dolejs"
s.platform = :ios, "13"
s.swift_version = "5"
s.documentation_url = "https://appliedrecognition.github.io/Ver-ID-Core-Apple"
s.source = { :git => "https://github.com/AppliedRecognition/Ver-ID-UI-iOS.git", :tag => "v#{s.version}" }
s.default_subspecs = 'Core', 'UI'
s.static_framework = true
s.cocoapods_version = ">= 1.10"
s.preserve_paths = 'Sources/VerIDUI/*.xcconfig'
s.script_phase = { :name => "Check Ver-ID fully downloaded", :script => 'filesize=$(wc -c <"${PODS_XCFRAMEWORKS_BUILD_DIR}/VerIDCore/VerIDCore.framework/VerIDCore"); if [ $filesize -lt 1000000 ]; then echo "error: Ver-ID framework files not fully downloaded. Please install Git LFS, clear the Ver-ID pod cache using pod cache clean Ver-ID and run pod install."; exit 1; else echo "Ver-ID installed successfully"; fi', :execution_position => :before_compile }
s.subspec 'UI' do |ss|
ss.source_files = "Sources/VerIDUI/*.swift"
ss.resource_bundles = { "VerIDUIResources" => ["Sources/VerIDUI/Resources/Video/*.mp4", "Sources/VerIDUI/Resources/Localization/*.xml", "Sources/VerIDUI/Resources/*.xcassets", "Sources/VerIDUI/Resources/**.{storyboard,xib}", "Sources/VerIDUI/Resources/*.obj"] }
ss.dependency "Ver-ID/Core"
ss.dependency 'RxSwift', '~> 6.9'
ss.dependency 'RxCocoa', '~> 6.9'
ss.dependency 'DeviceKit', '~> 5.5'
ss.pod_target_xcconfig = {
"ENABLE_BITCODE" => "NO"
}
end
s.subspec 'Core' do |ss|
ss.dependency "ZIPFoundation", "~> 0.9"
ss.dependency "Ver-ID-SDK-Identity", ">= 3.0.2", "< 4.0"
ss.dependency 'RxSwift', '~> 6.9'
ss.dependency 'RxCocoa', '~> 6.9'
ss.dependency 'DeviceKit', '~> 5.5'
ss.dependency 'ASN1Decoder', '~> 1.9'
ss.dependency 'SpoofDeviceDetection/Model', '~> 1.1'
ss.vendored_framework = "Frameworks/VerIDCore.xcframework"
end
end