-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathZDToolKit.podspec
More file actions
93 lines (75 loc) · 2.57 KB
/
ZDToolKit.podspec
File metadata and controls
93 lines (75 loc) · 2.57 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
Pod::Spec.new do |s|
s.name = 'ZDToolKit'
s.version = '0.0.5'
s.summary = 'awesome iOS development tools(Objective-C)'
s.description = <<-DESC
collect some iOS development tools, e.g: category、block、runtime、subclass、macro, and so on...
DESC
s.homepage = 'https://github.com/faimin'
s.license = {
:type => 'MIT',
:file => 'LICENSE'
}
s.author = { 'Zero.D.Saber' => 'fuxianchao@gmail.com' }
s.platform = :ios, '9.0'
s.requires_arc = true
# s.static_framework = true
s.public_header_files = 'ZDToolKit/ZDToolKit.h'
s.module_name = 'ZDToolKit'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}
s.source = {
:git => 'https://github.com/faimin/ZDToolKit.git',
:tag => s.version.to_s
}
s.source_files = 'ZDToolKit/ZDToolKit.h'
s.subspec 'ZDMacros' do |ss|
ss.source_files = 'ZDToolKit/ZDMacros/*.{h,m}'
end
s.subspec 'ZDAutoLayout' do |ss|
ss.source_files = 'ZDToolKit/ZDAutoLayout/*.{h,m}'
end
s.subspec 'ZDCategory' do |ss|
ss.subspec 'Foundation' do |sss|
sss.source_files = 'ZDToolKit/ZDCategory/Foundation/*.{h,m}'
sss.frameworks = 'UIKit', 'Foundation', 'CoreText'
end
ss.subspec 'UIKit' do |sss|
sss.source_files = 'ZDToolKit/ZDCategory/UIKit/*.{h,m}'
sss.frameworks = 'UIKit', 'QuartzCore', 'CoreImage', 'CoreGraphics', 'ImageIO', 'CoreText', 'WebKit'
sss.dependency 'ZDToolKit/ZDTools/ZDProxy'
end
ss.dependency 'ZDToolKit/ZDMacros'
end
s.subspec 'ZDSubclass' do |ss|
ss.source_files = 'ZDToolKit/ZDSubclass/*.{h,m}'
ss.dependency 'ZDToolKit/ZDTools/ZDProxy'
end
s.subspec 'ZDRuntime' do |ss|
ss.source_files = 'ZDToolKit/ZDRuntime/*.{h,m}'
ss.exclude_files = 'ZDToolKit/ZDRuntime/ZDBlockHook.{h,m}'
#ss.dependency 'libffi-core'
end
# no_arc_source_files = 'ZDToolKit/ZDTools/ZDSafe.{h,m}'
s.subspec 'ZDTools' do |ss|
ss.source_files = 'ZDToolKit/ZDTools/*.{h,m}'
# ss.exclude_files = no_arc_source_files
ss.subspec 'ZDProxy' do |sss|
sss.source_files = 'ZDToolKit/ZDTools/ZDProxy/*.{h,m}'
end
ss.subspec 'ZDPromise' do |sss|
sss.source_files = 'ZDToolKit/ZDTools/ZDPromise/*.{h,m}'
end
ss.subspec 'ProtocolKit' do |sss|
sss.source_files = 'ZDToolKit/ZDTools/ProtocolKit/*.{h,m}'
end
end
s.subspec 'ZDDebug' do |ss|
ss.source_files = 'ZDToolKit/ZDDebug/**/*.{h,m}'
end
s.subspec 'ZDMRC' do |ss|
ss.requires_arc = false
ss.source_files = 'ZDToolKit/ZDMRC/**/*.{h,m}'
end
end