-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMintegralAdSDK.podspec
99 lines (70 loc) · 3.26 KB
/
MintegralAdSDK.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
Pod::Spec.new do |spec|
spec.name = 'MintegralAdSDK'
sdkVersion = '5.9.0'
spec.version = sdkVersion + '.0'
spec.summary = 'Mintegral Network Mobile App Ad SDK'
spec.homepage = 'http://cdn-adn.rayjump.com/cdn-adn/v2/markdown_v2/index.html?file=sdk-m_sdk-ios&lang=en'
spec.description = <<-DESC
Mintegral's AdSDK allows you to monetize your iOS and Android apps with Mintegral ads.
DESC
spec.license = { :type => 'Mintegral', :file => "LICENSE.txt" }
spec.author = 'Mintegral'
spec.social_media_url = 'https://www.facebook.com/mintegral.official'
spec.platform = :ios, '8.0'
spec.source = { :git => 'https://github.com/Mintegral-official/MintegralAdSDK-iOS.git', :tag => sdkVersion}
spec.libraries = 'sqlite3', 'xml2','z'
spec.frameworks = 'SystemConfiguration', 'CoreGraphics','Foundation','UIKit','AdSupport','StoreKit','QuartzCore','CoreTelephony','MobileCoreServices','Accelerate','AVFoundation','WebKit'
spec.requires_arc = true
spec.user_target_xcconfig = {'OTHER_LDFLAGS' => ['-lObjC']}
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.default_subspecs = 'NativeAd'
spec.subspec 'NativeAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/NativeAd/MTGSDK.framework'
end
spec.subspec 'BidNativeAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.preserve_paths = "MintegralAdSDK/NativeAd/*.framework"
ss.vendored_frameworks = 'MintegralAdSDK/NativeAd/MTGSDK.framework', 'MintegralAdSDK/NativeAd/MTGSDKBidding.framework'
end
spec.subspec 'InterstitialVideoAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/InterstitialVideoAd/*.framework'
ss.dependency 'MintegralAdSDK/NativeAd'
end
spec.subspec 'BidInterstitialVideoAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/InterstitialVideoAd/*.framework'
ss.dependency 'MintegralAdSDK/BidNativeAd'
end
spec.subspec 'RewardVideoAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/RewardVideoAd/*.framework'
ss.dependency 'MintegralAdSDK/NativeAd'
end
spec.subspec 'BidRewardVideoAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/RewardVideoAd/*.framework'
ss.dependency 'MintegralAdSDK/BidNativeAd'
end
spec.subspec 'InterstitialAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/InterstitialAd/*.framework'
ss.dependency 'MintegralAdSDK/NativeAd'
end
spec.subspec 'InterActiveAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/InterActive/*.framework'
ss.dependency 'MintegralAdSDK/NativeAd'
end
spec.subspec 'BannerAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/BannerAd/*.framework'
ss.dependency 'MintegralAdSDK/NativeAd'
end
spec.subspec 'BidBannerAd' do |ss|
ss.ios.deployment_target = '8.0'
ss.vendored_frameworks = 'MintegralAdSDK/BannerAd/*.framework'
ss.dependency 'MintegralAdSDK/BidNativeAd'
end
end