forked from minima/mopub-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mopub-ios-sdk.podspec
61 lines (56 loc) · 3 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
Pod::Spec.new do |spec|
spec.name = 'mopub-ios-sdk'
spec.module_name = 'MoPub'
spec.version = '5.14.1'
spec.license = { :type => 'New BSD', :file => 'LICENSE' }
spec.homepage = 'https://github.com/mopub/mopub-ios-sdk'
spec.authors = { 'MoPub' => '[email protected]' }
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.14.1' }
spec.requires_arc = true
spec.ios.deployment_target = '10.0'
spec.frameworks = [
'AVFoundation',
'AVKit',
'CoreGraphics',
'CoreLocation',
'CoreMedia',
'CoreTelephony',
'Foundation',
'MediaPlayer',
'QuartzCore',
'SystemConfiguration',
'UIKit',
'SafariServices'
]
spec.weak_frameworks = [
'AdSupport',
'StoreKit',
'WebKit'
]
spec.default_subspecs = 'MoPubSDK'
spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e armv7 armv7s', 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'i386 x86_64' }
spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e armv7 armv7s', 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'i386 x86_64' }
spec.subspec 'MoPubSDK' do |sdk|
sdk.dependency 'mopub-ios-sdk/Core'
sdk.dependency 'mopub-ios-sdk/NativeAds'
end
spec.subspec 'Core' do |core|
core.source_files = 'MoPubSDK/**/*.{h,m}'
core.resource_bundles = {'MoPubResources' => ['MoPubSDK/Resources/**/*', 'MoPubSDK/**/*.{nib,xib,js}']}
core.exclude_files = ['MoPubSDK/NativeAds', 'MoPubSDK/NativeVideo']
core.vendored_libraries = ['MoPubSDK/Internal/Viewability/OMSDK/*.{a}']
end
spec.subspec 'NativeAds' do |native|
native.dependency 'mopub-ios-sdk/Core'
native.source_files = ['MoPubSDK/NativeAds/**/*.{h,m}', 'MoPubSDK/NativeVideo/**/*.{h,m}']
end
end