-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
40 lines (34 loc) · 1.31 KB
/
Podfile
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
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
source 'https://github.com/W2-Global-Data/cocoapods-podspecs.git'
source 'https://github.com/CocoaPods/Specs.git'
pre_install do |installer|
installer.analysis_result.specifications.each do |s|
if s.name == 'Alamofire'
s.swift_version = '5.5'
end
end
end
target 'w2-example-ios' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for w2-example-ios
w2sdk_version = "2.0.0"
puts "Using version #@w2sdk_version of W2SDK from the feeds"
pod 'W2SDK/W2DocumentVerificationClient', w2sdk_version
pod 'W2SDK/W2DocumentVerificationClientCapture', w2sdk_version
pod 'W2SDK/W2FacialComparisonClientCapture', w2sdk_version
pod 'W2SDK/W2FacialComparisonClient', w2sdk_version
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['AcuantiOSSDKV11', 'KeychainAccess', 'Socket.IO-Client-Swift', 'Starscream', 'SwiftyJSON'].include? target.name
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.5'
end
end
end