11Pod ::Spec . new do |s |
22 s . name = "LLDebugTool"
3- s . version = "1.3.6 "
3+ s . version = "1.3.7 "
44 s . summary = "LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations."
55 s . homepage = "https://github.com/HDB-Li/LLDebugTool"
66 s . license = "MIT"
@@ -9,10 +9,110 @@ Pod::Spec.new do |s|
99 s . platform = :ios , "8.0"
1010 s . source = { :git => "https://github.com/HDB-Li/LLDebugTool.git" , :tag => s . version }
1111 s . requires_arc = true
12- s . public_header_files = "LLDebugTool/LLDebug.h" , "LLDebugTool/DebugTool/*.h"
13- s . source_files = "LLDebugTool/**/*.{h,m}"
14- s . resources = "LLDebugTool/**/*.{xib,storyboard,bundle}"
15- s . frameworks = "Foundation" , "UIKit" , "Photos" , "SystemConfiguration" , "CoreTelephony" , "QuickLook" , "WebKit"
16- s . dependency "FMDB" , "~> 2.0"
1712
13+ s . subspec 'Network' do |ss |
14+ ss . public_header_files = "LLDebugTool/Core/Component/Network/**/*.h"
15+ ss . source_files = "LLDebugTool/Core/Component/Network/**/*.{h,m}"
16+ ss . frameworks = "SystemConfiguration" , "CoreTelephony"
17+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_NETWORK=1' }
18+ ss . dependency "LLDebugTool/Storage"
19+ end
20+
21+ s . subspec 'Log' do |ss |
22+ ss . public_header_files = "LLDebugTool/Core/Component/Log/**/*.h"
23+ ss . source_files = "LLDebugTool/Core/Component/Log/**/*.{h,m}"
24+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_LOG=1' }
25+ ss . dependency "LLDebugTool/Storage"
26+ end
27+
28+ s . subspec 'Crash' do |ss |
29+ ss . public_header_files = "LLDebugTool/Core/Component/Crash/**/*.h"
30+ ss . source_files = "LLDebugTool/Core/Component/Crash/**/*.{h,m}"
31+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_CRASH=1' }
32+ ss . dependency "LLDebugTool/Storage"
33+ end
34+
35+ s . subspec 'AppInfo' do |ss |
36+ ss . public_header_files = "LLDebugTool/Core/Component/AppInfo/**/*.h"
37+ ss . source_files = "LLDebugTool/Core/Component/AppInfo/**/*.{h,m}"
38+ ss . frameworks = "SystemConfiguration"
39+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_APP_INFO=1' }
40+ ss . dependency "LLDebugTool/Core"
41+ end
42+
43+ s . subspec 'Sandbox' do |ss |
44+ ss . public_header_files = "LLDebugTool/Core/Component/Sandbox/**/*.h"
45+ ss . source_files = "LLDebugTool/Core/Component/Sandbox/**/*.{h,m}"
46+ ss . frameworks = "QuickLook"
47+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_SANDBOX=1' }
48+ ss . dependency "LLDebugTool/Core"
49+ end
50+
51+ s . subspec 'Screenshot' do |ss |
52+ ss . public_header_files = "LLDebugTool/Core/Component/Screenshot/**/*.h"
53+ ss . source_files = "LLDebugTool/Core/Component/Screenshot/**/*.{h,m}"
54+ ss . frameworks = "Photos"
55+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_SCREENSHOT=1' }
56+ ss . dependency "LLDebugTool/Core"
57+ end
58+
59+ s . subspec 'Hierarchy' do |ss |
60+ ss . public_header_files = "LLDebugTool/Core/Component/Hierarchy/**/*.h"
61+ ss . source_files = "LLDebugTool/Core/Component/Hierarchy/**/*.{h,m}"
62+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_HIERARCHY=1' }
63+ ss . dependency "LLDebugTool/Core"
64+ end
65+
66+ s . subspec 'Magnifier' do |ss |
67+ ss . public_header_files = "LLDebugTool/Core/Component/Magnifier/**/*.h"
68+ ss . source_files = "LLDebugTool/Core/Component/Magnifier/**/*.{h,m}"
69+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_MAGNIFIER=1' }
70+ ss . dependency "LLDebugTool/Core"
71+ end
72+
73+ s . subspec 'Ruler' do |ss |
74+ ss . public_header_files = "LLDebugTool/Core/Component/Ruler/**/*.h"
75+ ss . source_files = "LLDebugTool/Core/Component/Ruler/**/*.{h,m}"
76+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_RULER=1' }
77+ ss . dependency "LLDebugTool/Core"
78+ end
79+
80+ s . subspec 'WidgetBorder' do |ss |
81+ ss . public_header_files = "LLDebugTool/Core/Component/WidgetBorder/**/*.h"
82+ ss . source_files = "LLDebugTool/Core/Component/WidgetBorder/**/*.{h,m}"
83+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_WIDGET_BORDER=1' }
84+ ss . dependency "LLDebugTool/Core"
85+ end
86+
87+ s . subspec 'Html' do |ss |
88+ ss . public_header_files = "LLDebugTool/Core/Component/Html/**/*.h"
89+ ss . source_files = "LLDebugTool/Core/Component/Html/**/*.{h,m}"
90+ ss . frameworks = "WebKit"
91+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_HTML=1' }
92+ ss . dependency "LLDebugTool/Core"
93+ end
94+
95+ s . subspec 'Location' do |ss |
96+ ss . public_header_files = "LLDebugTool/Core/Component/Location/**/*.h"
97+ ss . source_files = "LLDebugTool/Core/Component/Location/**/*.{h,m}"
98+ ss . frameworks = "CoreLocation" , "MapKit"
99+ ss . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LLDEBUGTOOL_LOCATION=1' }
100+ ss . dependency "LLDebugTool/Core"
101+ end
102+
103+ # Primary
104+ s . subspec 'Storage' do |ss |
105+ ss . public_header_files = "LLDebugTool/Core/Storage/**/*.h"
106+ ss . source_files = "LLDebugTool/Core/Storage/**/*.{h,m}"
107+ ss . dependency "LLDebugTool/Core"
108+ ss . dependency "FMDB" , "~> 2.0"
109+ end
110+
111+ # Primary
112+ s . subspec 'Core' do |ss |
113+ ss . public_header_files = "LLDebugTool/LLDebug.h" , "LLDebugTool/DebugTool/*.h" , "LLDebugTool/Core/Others/**/*.h"
114+ ss . source_files = "LLDebugTool/LLDebug.h" , "LLDebugTool/DebugTool/*.{h,m}" , "LLDebugTool/Core/Others/**/*.{h,m}"
115+ ss . resources = "LLDebugTool/Core/Others/**/*.{xib,storyboard,bundle}"
116+ end
117+
18118end
0 commit comments