-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathPodfile
More file actions
137 lines (106 loc) · 2.59 KB
/
Copy pathPodfile
File metadata and controls
137 lines (106 loc) · 2.59 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
platform :ios, '15.0'
workspace 'PrebidMobile'
project 'PrebidMobile.xcodeproj'
project 'EventHandlers/EventHandlers.xcodeproj'
project 'Example/PrebidDemo/PrebidDemo.xcodeproj'
def gma_pods
pod 'Google-Mobile-Ads-SDK'
end
def applovin_pods
pod 'AppLovinSDK'
end
def event_handlers_project
project 'EventHandlers/EventHandlers.xcodeproj'
use_frameworks!
end
def ima_pod
pod 'GoogleAds-IMA-iOS-SDK'
end
def prebid_demo_pods
use_frameworks!
ima_pod
gma_pods
applovin_pods
end
def internalTestApp_pods
use_frameworks!
pod 'Alamofire', '4.9.1'
pod 'Eureka'
pod 'SVProgressHUD'
pod 'RxSwift'
ima_pod
gma_pods
applovin_pods
end
target 'PrebidMobileGAMEventHandlers' do
event_handlers_project
gma_pods
end
target 'PrebidMobileGAMEventHandlersTests' do
event_handlers_project
gma_pods
end
target 'PrebidMobileAdMobAdapters' do
event_handlers_project
gma_pods
end
target 'PrebidMobileAdMobAdaptersTests' do
event_handlers_project
gma_pods
end
target 'PrebidMobileMAXAdapters' do
event_handlers_project
applovin_pods
end
target 'PrebidMobileMAXAdaptersTests' do
event_handlers_project
applovin_pods
end
target 'PrebidDemoSwift' do
project 'Example/PrebidDemo/PrebidDemo.xcodeproj'
prebid_demo_pods
target 'PrebidDemoTests' do
inherit! :search_paths
end
end
target 'PrebidDemoObjectiveC' do
project 'Example/PrebidDemo/PrebidDemo.xcodeproj'
prebid_demo_pods
end
target 'InternalTestApp' do
project 'InternalTestApp/InternalTestApp.xcodeproj'
internalTestApp_pods
target 'InternalTestAppTests' do
inherit! :search_paths
end
target 'InternalTestAppUITests' do
inherit! :search_paths
end
end
target 'InternalTestApp-Skadn' do
project 'InternalTestApp/InternalTestApp.xcodeproj'
internalTestApp_pods
end
target 'OpenXMockServer' do
use_frameworks!
project 'InternalTestApp/InternalTestApp.xcodeproj'
pod 'Alamofire', '4.9.1'
pod 'RxSwift'
target 'OpenXMockServerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
# Xcode 27 refuses deployment targets below 15.0. Raise pod targets to the
# SDK floor, but keep any pod that already declares a higher minimum.
current = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_s
if current.empty? || Gem::Version.new(current) < Gem::Version.new('15.0')
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
end
end
end
end