forked from mParticle/mparticle-apple-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mParticle-Apple-SDK.podspec
65 lines (56 loc) · 3.69 KB
/
mParticle-Apple-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
64
Pod::Spec.new do |s|
s.name = "mParticle-Apple-SDK"
s.version = "8.27.4"
s.summary = "mParticle Apple SDK."
s.description = <<-DESC
This is the mParticle Apple SDK for iOS and tvOS.
At mParticle our mission is straightforward: make it really easy for apps and app services to connect and allow you to take ownership of your 1st party data.
Like most app owners, you end up implementing and maintaining numerous SDKs ranging from analytics, attribution, push notification, remarketing,
monetization, etc. However, embedding multiple 3rd party libraries creates a number of unintended consequences and hidden costs.
The mParticle platform addresses all these problems. We support an ever growing number of integrations with services and SDKs, including developer
tools, analytics, attribution, messaging, advertising, and more. mParticle has been designed to be the central hub connecting all these services –
read the [docs](https://docs.mparticle.com/developers/sdk/ios/) or contact us at <[email protected]> to learn more.
DESC
s.homepage = "https://www.mparticle.com"
s.license = { :type => 'Apache 2.0', :file => 'LICENSE'}
s.author = { "mParticle" => "[email protected]" }
s.source = { :git => "https://github.com/mParticle/mparticle-apple-sdk.git", :tag => "v" + s.version.to_s }
s.documentation_url = "https://docs.mparticle.com/developers/sdk/ios/"
s.social_media_url = "https://twitter.com/mparticle"
s.requires_arc = true
s.default_subspec = 'mParticle'
s.module_name = 'mParticle_Apple_SDK'
s.ios.deployment_target = "9.0"
s.tvos.deployment_target = "9.0"
s.swift_versions = ["5.0"]
s.subspec 'mParticle' do |ss|
ss.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ss.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ss.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
ss.resource_bundles = {'mParticle-Privacy' => ['PrivacyInfo.xcprivacy']}
end
s.subspec 'mParticleNoLocation' do |ss|
ss.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ss.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ss.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
ss.resource_bundles = {'mParticle-Privacy' => ['PrivacyInfo.xcprivacy']}
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'MPARTICLE_LOCATION_DISABLE=1',
'OTHER_SWIFT_FLAGS' => '-D MPARTICLE_LOCATION_DISABLE'
}
end
s.subspec 'AppExtension' do |ext|
ext.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ext.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ext.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
end
s.subspec 'AppExtensionNoLocation' do |ext|
ext.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ext.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ext.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
ext.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'MPARTICLE_LOCATION_DISABLE=1',
'OTHER_SWIFT_FLAGS' => '-D MPARTICLE_LOCATION_DISABLE'
}
end
end