-
Notifications
You must be signed in to change notification settings - Fork 1
/
Podfile
38 lines (30 loc) · 1021 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
app_ios_deployment_target = Gem::Version.new('13.0')
platform :ios, app_ios_deployment_target.version
abstract_target 'DashX Demo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DashX Demo
pod 'DashX'
target 'DashX Demo Staging' do
# Pods for Staging
end
target 'DashX Demo Production' do
# Pods for Production
end
target 'DashX DemoTests' do
inherit! :search_paths
# Pods for testing
end
target 'DashX DemoUITests' do
# Pods for testing
end
post_install do |installer|
# Let Pods targets inherit deployment target from the app
installer.pods_project.targets.each do |target|
target.build_configurations.each do |configuration|
pod_ios_deployment_target = Gem::Version.new(configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
configuration.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' if pod_ios_deployment_target <= app_ios_deployment_target
end
end
end
end