-
Notifications
You must be signed in to change notification settings - Fork 51
/
AppNexusSDK.podspec
59 lines (49 loc) · 2.85 KB
/
AppNexusSDK.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
Pod::Spec.new do |s|
s.name = "AppNexusSDK"
s.version = "8.11.4"
s.platform = :ios, "12.0"
s.summary = "AppNexus iOS Mobile Advertising SDK"
s.description = <<-DESC
Our mobile advertising SDK gives developers a fast and convenient way to monetize their apps.
DESC
s.homepage = "https://github.com/appnexus/mobile-sdk-ios"
s.source = { :git => "https://github.com/appnexus/mobile-sdk-ios.git", :branch => "master" }
s.author = { "AppNexus Mobile Engineering" => "[email protected]" }
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.requires_arc = true
s.static_framework = true
s.default_subspec = 'AppNexusSDK'
s.subspec 'AppNexusSDK' do |subspec|
subspec.source_files = "sdk/sourcefiles/**/*.{h,m}"
subspec.resource_bundles = {
"Resources" => ["sdk/sourcefiles/**/PrivacyInfo.xcprivacy"]
}
subspec.public_header_files = "sdk/sourcefiles/public-headers/*.h"
subspec.resources = "sdk/sourcefiles/Resources/*.{png,xib,nib,js,html,bundle,strings}","sdk/sourcefiles/Resources/images/*.{png}","sdk/AppNexusSDK/SDK-Info.plist"
subspec.vendored_frameworks = "sdk/sourcefiles/Viewability/dynamic_framework/OMSDK_Microsoft.xcframework"
subspec.frameworks = 'WebKit'
subspec.pod_target_xcconfig = { "VALID_ARCHS[sdk=iphoneos*]": "arm64 armv7", "VALID_ARCHS[sdk=iphonesimulator*]": "x86_64 arm64" }
subspec.exclude_files = "sdk/sourcefiles/macOS/", "sdk/sourcefiles/Viewability/static_framework","sdk/sourcefiles/Viewability/dynamic_framework"
end
s.subspec 'GoogleAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.dependency 'Google-Mobile-Ads-SDK', '11.2.0'
subspec.source_files = "mediation/mediatedviews/GoogleAdMob/*.{h,m}"
subspec.public_header_files = "mediation/mediatedviews/GoogleAdMob/ANGoogleMediationSettings.h"
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/Google-Mobile-Ads-SDK/**' }
end
s.subspec 'FacebookCSRAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.dependency 'FBAudienceNetwork', '6.15.0'
subspec.source_files = "csr/Facebook/*.{h,m}"
subspec.public_header_files = "csr/Facebook/*.h"
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/FBAudienceNetwork/**' }
end
s.subspec 'SmartAdAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.source_files = "mediation/mediatedviews/SmartAd/*.{h,m}"
subspec.public_header_files = "mediation/mediatedviews/SmartAd/ANAdAdapterSmartAdBase.h"
subspec.dependency 'Smart-Display-SDK', '7.22.0'
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/Smart-Display-SDK/**' }
end
end