forked from minima/mopub-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mopub-ios-sdk.podspec
64 lines (59 loc) · 2.88 KB
/
mopub-ios-sdk.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
Pod::Spec.new do |spec|
spec.name = 'mopub-ios-sdk'
spec.module_name = 'MoPub'
spec.version = '5.4.1'
spec.license = { :type => 'New BSD', :file => 'LICENSE' }
spec.homepage = 'https://github.com/mopub/mopub-ios-sdk'
spec.authors = { 'MoPub' => 'support@mopub.com' }
spec.summary = 'The Official MoPub Client SDK allows developers to easily monetize their apps by showing banner, interstitial, and native ads.'
spec.description = <<-DESC
MoPub is a hosted ad serving solution built specifically for mobile publishers.\n
Grow your mobile advertising business with powerful ad management, optimization \n
and reporting capabilities, and earn revenue by connecting to the world's largest \n
mobile ad exchange. \n\n
To learn more or sign up for an account, go to http://www.mopub.com. \n
DESC
spec.social_media_url = 'http://twitter.com/mopub'
spec.source = { :git => 'https://github.com/mopub/mopub-ios-sdk.git', :tag => '5.4.1' }
spec.requires_arc = true
spec.ios.deployment_target = '8.0'
spec.frameworks = [
'AVFoundation',
'CoreGraphics',
'CoreLocation',
'CoreMedia',
'CoreTelephony',
'Foundation',
'MediaPlayer',
'QuartzCore',
'SystemConfiguration',
'UIKit',
'SafariServices'
]
spec.weak_frameworks = [
'AdSupport',
'StoreKit',
'WebKit'
]
spec.default_subspecs = 'MoPubSDK'
spec.subspec 'MoPubSDK' do |sdk|
sdk.dependency 'mopub-ios-sdk/Core'
sdk.dependency 'mopub-ios-sdk/Avid'
sdk.dependency 'mopub-ios-sdk/Moat'
end
spec.subspec 'Core' do |core|
core.source_files = 'MoPubSDK/**/*.{h,m}'
core.resources = 'MoPubSDK/**/*.{png,bundle,xib,nib,html}'
core.exclude_files = ['MoPubSDK/Viewability/Moat', 'MoPubSDK/Viewability/Avid']
end
spec.subspec 'Avid' do |avid|
avid.dependency 'mopub-ios-sdk/Core'
avid.source_files = 'MoPubSDK/Viewability/Avid/*.{h,m}'
avid.vendored_libraries = 'MoPubSDK/Viewability/Avid/*.{a}'
end
spec.subspec 'Moat' do |moat|
moat.dependency 'mopub-ios-sdk/Core'
moat.vendored_frameworks = 'MoPubSDK/Viewability/Moat/MPUBMoatMobileAppKit.framework'
moat.source_files = 'MoPubSDK/Viewability/MOAT/*.{h,m}'
end
end