YHEventReport.podspec
4 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
90
91
92
93
94
95
96
97
98
99
100
101
102
#
# 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 = "1.2.1"
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(' ')
}
ss.dependency "YH_FoundationKit"
end
s.subspec "AOP" do |ss|
ss.dependency "YHEventReport/Core"
ss.dependency "SDWebImage"
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.dependency "YH_FoundationKit"
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.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_LagHunter/*.{h,m}'
end
s.subspec "DeviceInfo" do |ss|
ss.dependency "YHEventReport/Core"
s.framework = "UIKit"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_DeviceInfo/*.{h,m}'
end
s.subspec "CrashProtector" do |ss|
ss.dependency "YHEventReport/Core"
s.framework = "UIKit"
ss.source_files = 'YHEventReport/YHEventReport/YHEventReport/YH_CrashProtector/*.{h,m}'
end
end