forked from twobitlabs/AnalyticsKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnalyticsKit.podspec
79 lines (59 loc) · 2.79 KB
/
AnalyticsKit.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
Pod::Spec.new do |s|
s.name = "AnalyticsKit"
s.version = "1.1"
s.summary = "Analytics framework for iOS"
s.description = <<-DESC
The goal of AnalyticsKit is to provide a consistent API for analytics regardless of which analytics provider you're using behind the scenes.
The benefit of using AnalyticsKit is that if you decide to start using a new analytics provider, or add an additional one, you need to write/change much less code!
AnalyticsKit works both in ARC based projects and non-ARC projects.
DESC
s.homepage = "https://github.com/twobitlabs/AnalyticsKit"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { "Two Bit Labs" => "", "Todd Huss" => "", "Susan Detwiler" => "", "Christopher Pickslay" => "", "Zac Shenker" => "", "Sinnerschrader Mobile" => "" }
s.platform = :ios, '5.0'
s.source = { :git => "https://github.com/twobitlabs/AnalyticsKit.git", :tag => s.version.to_s }
s.subspec 'Core' do |core|
core.source_files = 'AnalyticsKit.{h,m}', 'AnalyticsKitEvent.{h,m}', 'AnalyticsKitDebugProvider.{h,m}', 'AnalyticsKitUnitTestProvider.{h,m}', 'Categories/NSNumber+Buckets.{h,m}'
end
s.subspec 'AdjustIO' do |a|
a.source_files = 'Providers/AdjustIO/AnalyticsKitAdjustIOProvider.{h,m}'
a.dependency 'AdjustIO', '2.1.0'
a.dependency 'AnalyticsKit/Core'
end
s.subspec 'Flurry' do |f|
f.source_files = 'Providers/Flurry/AnalyticsKitFlurryProvider.{h,m}'
f.dependency 'FlurrySDK'
f.dependency 'AnalyticsKit/Core'
end
s.subspec 'GoogleAnalytics' do |ga|
ga.source_files = 'Providers/Google Analytics/AnalyticsKitGoogleAnalyticsProvider.{h,m}'
ga.dependency 'GoogleAnalytics-iOS-SDK', '~> 3.0'
ga.dependency 'AnalyticsKit/Core'
end
s.subspec 'Localytics' do |l|
l.source_files = 'Providers/Localytics/AnalyticsKitLocalyticsProvider.{h,m}'
l.dependency 'Localytics-iOS-Client'
l.dependency 'AnalyticsKit/Core'
end
s.subspec 'Mixpanel' do |m|
m.source_files = 'Providers/Mixpanel/AnalyticsKitMixpanelProvider.{h,m}'
m.dependency 'Mixpanel'
m.dependency 'AnalyticsKit/Core'
end
s.subspec 'NewRelic' do |nr|
nr.source_files = 'Providers/New Relic/AnalyticsKitNewRelicProvider.{h,m}'
nr.dependency 'NewRelicAgent'
nr.dependency 'AnalyticsKit/Core'
nr.platform = :ios, '5.0'
end
s.subspec 'Parse' do |p|
p.source_files = 'Providers/Parse/AnalyticsKitParseProvider.{h,m}'
p.dependency 'Parse-iOS-SDK'
p.dependency 'AnalyticsKit/Core'
end
s.subspec 'TestFlight' do |tf|
tf.source_files = 'Providers/TestFlight/AnalyticsKitTestFlightProvider.{h,m}'
tf.dependency 'TestFlightSDK'
tf.dependency 'AnalyticsKit/Core'
end
end