-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAnalyticsWatchAdapter.podspec
More file actions
48 lines (40 loc) · 2.33 KB
/
AnalyticsWatchAdapter.podspec
File metadata and controls
48 lines (40 loc) · 2.33 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
#
# Be sure to run `pod lib lint AnalyticsWatchAdapter.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'AnalyticsWatchAdapter'
s.version = '0.1.0'
s.summary = 'An adapter to send analytics (like Google Analytics) from your Watch App'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
At the moment of creating this library (June 2016) there is no watchos support for the Google Analytics library. To still be able to send your analytics to Google or any other analytics service this library provides an interface that can be used by watchos apps. It uses the WatchConnectivity framework under the hood to first send analytics requests from the Watch app to the iPhone app. Then it's send automatically from the iPhone app to the analytics service.
DESC
s.homepage = 'https://github.com/lammertw/AnalyticsWatchAdapter'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Lammert Westerhoff' => 'westerhoff@gmail.com' }
s.source = { :git => 'https://github.com/lammertw/AnalyticsWatchAdapter.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/lwesterhoff'
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.default_subspecs = 'Watch'
s.subspec 'Core' do |ss|
ss.source_files = 'AnalyticsWatchAdapter/Core/Classes/**/*'
ss.frameworks = 'Foundation'
end
s.subspec 'Watch' do |ss|
ss.dependency 'AnalyticsWatchAdapter/Core'
ss.source_files = 'AnalyticsWatchAdapter/Watch/Shared/Classes/**/*'
ss.ios.source_files = 'AnalyticsWatchAdapter/Watch/iOS/Classes/**/*'
ss.watchos.source_files = 'AnalyticsWatchAdapter/Watch/WatchOS/Classes/**/*'
ss.frameworks = 'WatchConnectivity'
end
end