-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
63 lines (52 loc) · 1.21 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
platform :ios, '14.2'
use_frameworks!
inhibit_all_warnings!
### Parameters ###
source 'https://github.com/CocoaPods/Specs.git'
def commom_dependencies
pod 'SwiftLint', '0.42.0'
pod 'SwiftGen', '6.4.0'
end
def commom_test_dependencies
pod 'Quick', '~> 3.1.1'
pod 'Nimble', '~> 9.0.0'
pod 'Nimble-Snapshots', '~> 9.0.0'
end
def interface_test_dependencies
commom_test_dependencies
pod 'Nimble-Snapshots', '~> 9.0.0'
end
### Application ###
target 'The-Norris' do
commom_dependencies
target 'The-NorrisTests' do
inherit! :search_paths
interface_test_dependencies
end
end
### Interface ###
target 'Interface' do
commom_dependencies
target 'InterfaceTests' do
inherit! :search_paths
interface_test_dependencies
end
end
### Client ###
target 'Client' do
commom_dependencies
target 'ClientTests' do
inherit! :search_paths
commom_test_dependencies
end
end
### Configuration ###
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end
end