forked from WhereAreYouPJ/WAY_iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
41 lines (33 loc) · 1019 Bytes
/
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, '17.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'Where_Are_You' do
use_frameworks!
pod 'Alamofire', '~> 5.6'
pod 'SwiftLint'
pod 'SnapKit', '~> 5.0'
pod 'Moya', '~> 15.0'
pod 'KakaoSDK'
pod 'KakaoMapsSDK'
pod 'Kingfisher', '~> 7.0'
target 'Where_Are_You_Tests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Kakao 관련 Pods는 Deployment Target 변경하지 않음
if target.name.start_with?('KakaoSDK')
next
end
# Alamofire의 Deployment Target은 13.0으로 설정
if target.name == 'Alamofire'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
else
# 나머지 Pods의 Deployment Target은 17.0으로 설정
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '17.0'
end
end
end
end