YH_Analytics.podspec
1.54 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
Pod::Spec.new do |s|
s.name = "YH_Analytics"
s.version = "1.0.0"
s.summary = "Analytics Kit"
s.description = <<-DESC
Analytics Kit
DESC
s.homepage = ""
s.license = 'MIT'
s.author = { "wangqianjun" => "wangqianjun168@163.com" }
s.source = { :git => "http://git.dev.yoho.cn/ios/yh_analytics.git",
:branch => 'yoho',
:tag => s.version.to_s }
s.platform = :ios, '6.0'
s.requires_arc = true
s.dependency 'AFNetworking', '~> 2.5.4'
s.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/*.{h,m}'
s.prefix_header_contents = '#import "YHAnalyticsMacro.h"'
s.subspec 'Factory' do |ss|
ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Factory/*.{h,m}'
ss.requires_arc = true
end
s.subspec 'Model' do |ss|
ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Model/*.{h,m}'
ss.requires_arc = true
end
s.subspec 'Utils' do |ss|
ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Utils/*.{h,m}'
ss.requires_arc = true
end
s.subspec 'OpenUDID' do |ss|
ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/YHAnalyticsDependencies/OpenUDID/OpenUDID.{h,m}'
ss.requires_arc = false
end
s.subspec 'KeychainStore' do |ss|
ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/YHAnalyticsDependencies/OpenUDID/YH_KeychainStore.{h,m}'
ss.requires_arc = true
end
s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
end