-
Notifications
You must be signed in to change notification settings - Fork 0
/
HeraSDK.podspec
125 lines (104 loc) · 3.62 KB
/
HeraSDK.podspec
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
Pod::Spec.new do |s|
s.name = 'HeraSDK'
s.version = '2.2.0'
s.summary = 'An abstraction layer used to manage Ads.'
s.description = <<-DESC
Hera is an abstraction layer built on top of another 3rd party ad medation libraries.
DESC
s.homepage = 'https://teknasyon.com'
s.license = { :type => 'Commercial', :file => 'LICENSE' }
s.author = { 'Teknasyon' => 'https://teknasyon.com' }
s.source = { :git => 'https://github.com/Teknasyon-Teknoloji/hera-ios-sdk.git', :tag => s.version.to_s }
s.default_subspecs = 'ISWrapper', 'Core'
s.static_framework = true
s.swift_version = "5.1"
s.ios.deployment_target = '10.0'
s.pod_target_xcconfig = {
'ONLY_ACTIVE_ARCH' => 'YES'
}
s.user_target_xcconfig = {
'ONLY_ACTIVE_ARCH' => 'YES'
}
s.dependency 'IronSourceSDK'
# Core
s.subspec 'Core' do |ss|
ss.dependency 'AMRSDK', '~> 1.5'
ss.dependency 'AMRAdapterAdmost'
ss.dependency 'Moya'
ss.dependency 'AMRAdapterAdmob'
ss.dependency 'GoogleMobileAdsMediationTestSuite'
ss.dependency 'AMRAdapterFacebook'
ss.dependency 'Google-Mobile-Ads-SDK'
ss.dependency 'GoogleMobileAdsMediationFacebook'
ss.source_files = 'Sources/**/*.swift'
ss.ios.deployment_target = '10.0'
end
s.subspec 'ISWrapper' do |ss|
ss.dependency 'IronSourceSDK', '7.1.12.0'
ss.source_files = 'Sources/ISWrapper/**/*.*'
ss.ios.deployment_target = '10.0'
ss.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/HeraSDK/Sources/ISWrapper $(PODS_TARGET_SRCROOT)/Sources/ISWrapper' }
ss.preserve_paths = 'Sources/ISWrapper/module.modulemap'
ss.dependency 'IronSourceAdColonyAdapter'
ss.dependency 'IronSourceAdMobAdapter'
ss.dependency 'IronSourceAppLovinAdapter'
ss.dependency 'IronSourceChartboostAdapter'
ss.dependency 'IronSourceFacebookAdapter'
ss.dependency 'IronSourceInMobiAdapter'
ss.dependency 'IronSourceUnityAdsAdapter'
ss.dependency 'IronSourceVungleAdapter'
end
# IronSource Adapter
s.subspec 'IronSource' do |ironSource|
ironSource.dependency 'AMRAdapterIronsource'
ironSource.dependency 'GoogleMobileAdsMediationIronSource'
end
# UnityAds Adapter
s.subspec 'UnityAds' do |unityAds|
unityAds.dependency 'AMRAdapterUnity'
unityAds.dependency 'GoogleMobileAdsMediationUnity'
end
# AppLovin Adapter
s.subspec 'AppLovin' do |appLovin|
appLovin.dependency 'AMRAdapterApplovin'
appLovin.dependency 'GoogleMobileAdsMediationAppLovin'
end
# Chartboost Adapter
s.subspec 'Chartboost' do |chartboost|
chartboost.dependency 'AMRAdapterChartboost'
chartboost.dependency 'GoogleMobileAdsMediationChartboost'
end
# Vungle Adapter
s.subspec 'Vungle' do |vungle|
vungle.dependency 'AMRAdapterVungle'
vungle.dependency 'GoogleMobileAdsMediationVungle'
end
# TikTok Adapter
s.subspec 'TikTok' do |tiktok|
tiktok.dependency 'AMRAdapterTiktok'
end
s.subspec 'AdColony' do |ss|
ss.dependency 'AMRAdapterAdcolony'
ss.dependency 'GoogleMobileAdsMediationAdColony'
end
s.subspec 'Inmobi' do |ss|
ss.dependency 'AMRAdapterInmobi'
ss.dependency 'GoogleMobileAdsMediationInMobi'
end
s.subspec 'Criteo' do |ss|
ss.dependency 'AMRAdapterCriteo'
end
s.subspec 'Pubnative' do |ss|
ss.dependency 'AMRAdapterPubnative'
end
s.subspec 'MyTarget' do |ss|
ss.dependency 'AMRAdapterMytarget'
ss.dependency 'GoogleMobileAdsMediationMyTarget'
end
s.subspec 'Yandex' do |ss|
ss.dependency 'AMRAdapterYandex'
end
s.subspec 'Smaato' do |ss|
ss.dependency 'AMRAdapterSmaato'
end
end