-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
38 lines (30 loc) · 845 Bytes
/
Podfile
File metadata and controls
38 lines (30 loc) · 845 Bytes
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
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'JFB' do
use_frameworks!
inhibit_all_warnings!
pod 'Eureka'
pod 'SwiftLint'
pod 'Material', '~> 2'
pod 'NSStringMask', '~> 1.2'
swift4 = ['Eureka', 'SwiftLint', 'Material']
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
target 'JFBTests' do
inherit! :search_paths
end