-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSLDevKit.podspec
115 lines (89 loc) · 3.11 KB
/
SLDevKit.podspec
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
103
104
105
106
107
108
109
110
111
112
113
114
115
#
# Be sure to run `pod lib lint SLDevKit.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 https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'SLDevKit'
s.version = '1.0.25'
s.summary = 'iOS开发基础库集合.'
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/sweetloser/SLDevKit.git'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'sweetloser' => '18272160172@163.com' }
s.source = { :git => 'https://github.com/sweetloser/SLDevKit.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.source_files = 'SLDevKit/SLDevKit.h'
s.subspec "SLDefs" do |sd|
sd.source_files = 'SLDevKit/SLDefs/*.{h,m}'
end
s.subspec "SLUtils" do |su|
su.dependency 'SLDevKit/SLDefs'
su.source_files = 'SLDevKit/SLUtils/*.{h,m}'
su.frameworks = 'SystemConfiguration'
end
s.subspec "SLFoundation" do |sf|
sf.dependency 'SLDevKit/SLDefs'
sf.dependency 'SLDevKit/SLUtils'
sf.source_files = 'SLDevKit/SLFoundation/*.{h,m}'
end
s.subspec "SLUIKit" do |suk|
suk.dependency 'SLDevKit/SLDefs'
suk.dependency 'SLDevKit/SLUtils'
suk.dependency 'SLDevKit/SLFoundation'
suk.source_files = 'SLDevKit/SLUIKit/*.{h,m}'
end
s.subspec "SLAutoLayout" do |sal|
sal.dependency 'SLDevKit/SLUIKit'
sal.dependency 'SLDevKit/SLDefs'
sal.dependency 'SLDevKit/SLFoundation'
sal.source_files = 'SLDevKit/SLAutoLayout/*.{h,m}'
end
s.subspec "SLCustomField" do |scf|
scf.dependency 'SLDevKit/SLDefs'
scf.dependency 'SLDevKit/SLUIKit'
scf.dependency 'SLDevKit/SLFoundation'
scf.dependency 'SLDevKit/SLAutoLayout'
scf.source_files = 'SLDevKit/SLCustomField/*.{h,m}'
end
s.subspec "SLUpdateAlert" do |sua|
sua.dependency 'SLDevKit/SLDefs'
sua.dependency 'SLDevKit/SLUIKit'
sua.dependency 'SLDevKit/SLFoundation'
sua.dependency 'SLDevKit/SLAutoLayout'
sua.source_files = 'SLDevKit/SLUpdateAlert/*.{h,m}'
end
s.subspec "SLCache" do |scc|
scc.dependency 'SLDevKit/SLDefs'
scc.source_files = 'SLDevKit/SLCache/*.{h,m}'
end
s.subspec "SLHooks" do |shk|
shk.dependency 'SLDevKit/SLDefs'
shk.source_files = 'SLDevKit/SLHooks/*.{h,m}'
end
s.subspec "SLModel" do |smd|
smd.dependency 'SLDevKit/SLDefs'
smd.dependency 'SLDevKit/SLCache'
smd.source_files = 'SLDevKit/SLModel/*.{h,m}'
end
s.subspec "SLLogger" do |slg|
slg.libraries = "c++"
slg.source_files = 'SLDevKit/SLLogger/*.{h,cpp}'
end
s.subspec "SLInlineHooks" do |sih|
sih.source_files = 'SLDevKit/SLInlineHooks/*{h,hpp,cpp}'
sih.dependency 'SLDevKit/SLLogger'
sih.libraries = "c++"
end
# s.subspec "SLBackTrace" do |sbt|
# sbt.dependency 'SLDevKit/SLDefs'
# sbt.dependency 'SLDevKit/SLFoundation'
#
# sbt.source_files = 'SLDevKit/SLBackTrace/*.{h,m}'
#
# end
end