-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
67 lines (53 loc) · 1.91 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
64
65
66
67
# Uncomment the next line to define a global platform for your project
# platform :ios, '15.0'
abstract_target 'CommonPods' do
use_frameworks!
pod 'SwiftLint', '0.47.0'
target 'AnyApp' do
pod 'SwinjectAutoregistration', '~> 2.8' # includes Swinject
pod 'OHHTTPStubs/Swift', '9.1.0', :configurations => ['Dev', 'Internal']
pod 'Pathfinder-Swift'
pod 'SwiftGen', '~> 6.6'
pod 'SnapKit', '~> 5.6'
end
target 'Services' do
pod 'Firebase/Messaging', '~> 10'
pod 'Firebase/Crashlytics', '~> 10'
pod 'KeychainAccess', '~> 4.2'
pod 'Alamofire', '~> 5.5.0'
pod 'Pathfinder-Swift'
end
target 'AppIndependent' do
end
target 'Core' do
pod 'SwiftGen', '~> 6.6'
pod 'SwinjectAutoregistration', '~> 2.8' # includes Swinject
end
target 'UI' do
pod 'SnapKit', '~> 5.6'
pod 'SkeletonView', '~> 1.30'
end
end
# Set zero Pods optimization level in Dev configurations
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# some older pods don't support some architectures, anything over iOS 11 resolves that
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
# if target.name.include?("Pod")
target.build_configurations.each do |config|
if config.name.include?("Dev")
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '0'
# Add DEBUG to custom configurations containing 'Debug'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
if !config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'].include? 'DEBUG=1'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'DEBUG=1'
end
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
config.build_settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = ['DEBUG']
end
end
# end
end
end