YHEventReport.podspec
3.5 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
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
80
81
82
83
84
85
86
87
88
89
#
# Be sure to run `pod spec lint YHEventReport.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "YHEventReport"
s.version = "0.6.0"
s.summary = "YHEventReport."
s.description = "无埋点SDK"
s.homepage = "http://git.yoho.cn/mobile/YH_EventReport"
s.license = "MIT"
s.author = { "John Tai" => "john_tai@hotmail.com" }
s.source = { :git => "http://git.yoho.cn/mobile/YH_EventReport.git", :tag => "#{s.version}" }
s.framework = "UIKit"
s.requires_arc = true
s.platform = :ios
s.platform = :ios, "8.0"
s.subspec 'OpenUDID' do |ss|
ss.source_files = 'YHEventReport/YHEventReport/Utils/OpenUDID/*.{h,m}'
ss.requires_arc = 'YHEventReport/YHEventReport/Utils/OpenUDID/YH_KeychainStore.m'
ss.framework = 'Security'
end
s.subspec 'JTSHardwareInfo' do |ss|
ss.source_files = 'YHEventReport/YHEventReport/Utils/JTSHardwareInfo/*.{h,m}'
end
s.frameworks = 'Foundation', 'UIKit'
s.default_subspec = 'classes'
s.subspec 'Core' do |ss|
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_Core/*.{h,m}', 'YHEventReport/YHEventReport/YHEventReport/Utils/*', 'YHEventReport/YHEventReport/YHEventReport/Utils/YH_EventData/*'
ss.xcconfig = { "HEADER_SEARCH_PATHS" => [
"${PODS_ROOT}/../YH_Mall/Dependences/PowerfulBannerView",
].join(' ')
}
end
s.subspec "AOP" do |ss|
ss.dependency "YHEventReport/Core"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_AOP/*.{h,m}'
end
s.subspec "EventCollector" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "YHEventReport/AOP"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_EventCollector/*.{h,m}'
end
s.subspec "EventCache" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "YHEventReport/AOP"
ss.dependency "YHEventReport/EventCollector"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_EventCache/*.{h,m}'
end
s.subspec "EventDataSession" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "YHEventReport/AOP"
ss.dependency "YHEventReport/EventCollector"
ss.dependency "YHEventReport/EventCache"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_EventDataSession/*.{h,m}'
end
s.subspec "CrashReporter" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "YHEventReport/AOP"
ss.dependency "YHEventReport/EventCollector"
ss.dependency "YHEventReport/EventCache"
ss.dependency "YHEventReport/EventDataSession"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_CrashReporter/*.{h,m}'
end
s.subspec "LagHunter" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "YHEventReport/AOP"
ss.dependency "YHEventReport/EventCollector"
ss.dependency "YHEventReport/EventCache"
ss.dependency "YHEventReport/EventDataSession"
ss.dependency "PLCrashReporter"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_LagHunter/*.{h,m}'
end
end