-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPodfile
51 lines (40 loc) · 1.24 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
platform :ios, '9.1'
target 'Labs' do
use_frameworks!
# Pods for Labs
#Layout
pod 'Material', '~> 2'
pod 'Cartography', '~> 3'
#Animations
pod 'Spruce', '~> 1.0.0'
# pod 'Hero'
# pod 'Motion', '~> 1.2'
#Utilities
pod 'Kingfisher', '~> 4'
pod 'R.swift'
pod 'SwiftLint'
#Data Manager
pod 'Firebase/Database'
pod 'Moya-ObjectMapper/RxSwift'
#Reactive
pod 'RxSwift', '~> 4'
pod 'RxCocoa', '~> 4'
pod 'RxGesture', '~> 1.2'
swift4 = ['Material', 'Cartography', 'Kingfisher', 'R.swift', 'RxSwift', 'RxCocoa', 'RxGesture', 'Moya-ObjectMapper/RxSwift']
post_install do |installer|
installer.pods_project.targets.each do |target|
swift_version = nil
if swift4.include?(target.name)
swift_version = '4.0'
else
swift_version = '3.2'
end
if swift_version
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = swift_version
config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = ''
end
end
end
end
end