forked from larsacus/LARSAdController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LARSAdController.podspec
39 lines (35 loc) · 1.78 KB
/
LARSAdController.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
Pod::Spec.new do |s|
s.name = 'LARSAdController'
s.version = '3.0.7'
s.summary = 'Lightweight ad mediation for iOS to properly manage multiple ad networks dynamically including iAd and Google ads.'
s.description = 'A lightweight singleton ad mediation platform for iOS. Ads are managed in a way that most closely adheres to best practices for ad networks using a single instance for each ad network in order to provide the best publishing platform for advertisers to maximize ad inventory based on your particular needs. Currently there are two adapters available (iAd and Google Ads). The adapters can be extended to any ad framework wanted.'
s.homepage = 'http://larsacus.github.com/LARSAdController/'
s.author = {
'Lars Anderson' => '[email protected]'
}
s.source = {
:git => 'https://github.com/larsacus/LARSAdController.git',
:tag => s.version.to_s
}
s.platform = :ios, 5.0
s.license = 'MIT'
s.requires_arc = true
s.frameworks = 'CoreGraphics'
s.subspec 'Core' do |core|
core.source_files = 'Source/{LARSAdController,TOLAdViewController}.{h,m}','Source/TOLAdAdapter.h'
end
s.subspec 'GoogleAds' do |g|
g.source_files = 'Source/TOLAdAdapterGoogleAds.{h,m}'
g.dependency 'Google-Mobile-Ads-SDK'
g.dependency 'LARSAdController/Core'
g.weak_frameworks = 'AdSupport'
g.frameworks = 'AudioToolbox', 'MessageUI', 'SystemConfiguration', 'CoreGraphics', 'StoreKit'
g.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/Versions/A/Headers"' }
end
s.subspec 'iAds' do |iAds|
iAds.source_files = 'Source/TOLAdAdapteriAds.{h,m}'
iAds.dependency 'LARSAdController/Core'
iAds.frameworks = 'iAd'
iAds.weak_frameworks = 'AdSupport'
end
end