-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
33 lines (23 loc) · 729 Bytes
/
Podfile
File metadata and controls
33 lines (23 loc) · 729 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
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'FlexIssue350' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for FlexIssue350
pod 'AFNetworking', '2.7.0' # '3.2.1' # '2.5.3' #
pod 'Alamofire', '4.3.0' # '4.9.1' #
pod 'FLEX'
end
post_install do |installer|
### Force-compile pods with Swift 4.0 if necessary
atSwift4 = [
'Alamofire'
]
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if atSwift4.include? target.name
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end