forked from prebid/prebid-mobile-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPrebidMobile.podspec
More file actions
75 lines (61 loc) · 2.68 KB
/
PrebidMobile.podspec
File metadata and controls
75 lines (61 loc) · 2.68 KB
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
Pod::Spec.new do |s|
s.name = "PrebidMobile"
s.version = "3.2.0"
s.summary = "PrebidMobile is a lightweight framework that integrates directly with Prebid Server."
s.description = <<-DESC
Prebid-Mobile-SDK is a lightweight framework that integrates directly with Prebid Server to increase yield for publishers by adding more mobile buyers."
DESC
s.homepage = "https://www.prebid.org"
s.license = { :type => "Apache License, Version 2.0", :text => <<-LICENSE
Copyright 2018-2021 Prebid.org, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
LICENSE
}
s.author = { "Prebid.org, Inc." => "info@prebid.org" }
s.platform = :ios, "12.0"
s.swift_version = '5.0'
s.source = { :git => "https://github.com/prebid/prebid-mobile-ios.git", :tag => "#{s.version}" }
s.xcconfig = { :LIBRARY_SEARCH_PATHS => '$(inherited)',
:OTHER_CFLAGS => '$(inherited)',
:OTHER_LDFLAGS => '$(inherited)',
:HEADER_SEARCH_PATHS => '$(inherited)',
:FRAMEWORK_SEARCH_PATHS => '$(inherited)'
}
s.requires_arc = true
s.frameworks = [ 'UIKit',
'Foundation',
'MapKit',
'SafariServices',
'SystemConfiguration',
'AVFoundation',
'CoreGraphics',
'CoreLocation',
'CoreTelephony',
'CoreMedia',
'QuartzCore'
]
s.weak_frameworks = [ 'AdSupport', 'StoreKit', 'WebKit' ]
# Support previous intagration
s.default_subspec = 'core'
s.subspec 'core' do |core|
core.source_files = 'PrebidMobile/**/*.{h,m,swift}'
core.private_header_files = [
'PrebidMobile/Objc/PrivateHeaders/*.h'
]
core.vendored_frameworks = 'Frameworks/OMSDK_Prebidorg.xcframework'
end
s.pod_target_xcconfig = {
'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES',
'OTHER_LDFLAGS' => '$(inherited) -lObjC -framework OMSDK_Prebidorg',
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks',
'OTHER_SWIFT_FLAGS' => '$(inherited) -no-verify-emitted-module-interface'
}
end