-
Notifications
You must be signed in to change notification settings - Fork 18
/
Segment-GoogleAnalytics.podspec
41 lines (33 loc) · 1.58 KB
/
Segment-GoogleAnalytics.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
Pod::Spec.new do |s|
s.name = "Segment-GoogleAnalytics"
s.version = "1.3.3"
s.summary = "Google Analytics Integration for Segment's analytics-ios library."
s.description = <<-DESC
Analytics for iOS provides a single API that lets you
integrate with over 100s of tools.
This is the Google Analytics integration for the iOS library.
DESC
s.homepage = "http://segment.com/"
s.license = { :type => 'MIT' }
s.author = { "Segment" => "[email protected]" }
s.source = { :git => "https://github.com/segment-integrations/analytics-ios-integration-google-analytics.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/segment'
s.platform = :ios, '9.0'
s.requires_arc = true
s.static_framework = true
s.dependency 'Analytics'
s.default_subspec = 'GoogleIDFASupport'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.subspec 'GoogleIDFASupport' do |idfa|
# This will get bundled unless a subspec is specified
idfa.dependency 'Segment-GoogleAnalytics/Core'
idfa.dependency 'GoogleIDFASupport', '~> 3.14'
end
s.subspec 'Core' do |core|
core.source_files = 'Pod/Classes/**/*'
core.dependency 'GoogleAnalytics', '~> 3.14'
# For users who don't want to bundle GoogleIDFASupport
# If a user specified Segment-GoogleAnalytics/Core, we won't bundle IDFA
end
end