-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
53 lines (43 loc) · 1.3 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
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
target 'RxSwiftExample' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!
# Rx
pod 'RxSwift', '~> 4.0'
pod 'RxCocoa', '~> 4.0'
pod 'RxViewController'
pod 'RxDataSources', '~> 3.0'
pod 'Moya/RxSwift', '~> 11.0'
# Network
pod 'Moya', '~> 11.0'
pod 'Sniffer'
pod 'Kingfisher'
# Image
# Ui
pod 'SnapKit', '~> 4.0.0'
# Etc
pod 'SwiftLint'
swift_4_1_targets = []
post_install do |installer|
print "Setting the default SWIFT_VERSION to 4.2\n"
installer.pods_project.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
installer.pods_project.targets.each do |target|
if swift_4_1_targets.include? "#{target}"
print "Setting #{target}'s SWIFT_VERSION to 4.1\n"
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.3'
end
else
print "Setting #{target}'s SWIFT_VERSION to Undefined (Xcode will automatically resolve)\n"
target.build_configurations.each do |config|
config.build_settings.delete('SWIFT_VERSION')
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
end
end
end
end
end