-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMLCKit.podspec
128 lines (102 loc) · 3.29 KB
/
MLCKit.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
116
117
118
119
120
121
122
123
124
125
126
127
128
Pod::Spec.new do |s|
s.name = "MLCKit"
s.version = "0.0.4"
s.summary = "LCSKit的Objective-C版本,封装一些常用的iOS方法。"
s.homepage = "https://github.com/mlcldh/MLCKit"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "mlcldh" => "[email protected]" }
s.platform = :ios, '8.0'
s.ios.deployment_target = '8.0'
s.source = { :git => "https://github.com/mlcldh/MLCKit.git", :tag => s.version.to_s }
# s.source_files = "MLCKit"
s.source_files = 'MLCKit/MLCKit.h'
s.module_name = 'MLCKit'
s.requires_arc = true
s.static_framework = true
# s.xcconfig = {
# :modular_headers => true
# }
s.subspec 'Algorithm' do |ss|
ss.source_files = 'MLCKit/Algorithm/*.{h,m,mm}'
ss.frameworks = 'Foundation'
end
s.subspec 'Cache' do |ss|
ss.source_files = 'MLCKit/Cache/*.{h,m,mm}'
ss.dependency 'YYCache'
ss.frameworks = 'Foundation'
end
s.subspec 'Category' do |ss|
ss.source_files = 'MLCKit/Category/*.{h,m,mm}'
ss.frameworks = 'UIKit', 'CoreImage'
end
s.subspec 'Color' do |ss|
ss.source_files = 'MLCKit/Color/*.{h,m,mm}'
ss.frameworks = 'UIKit'
end
s.subspec 'Document' do |ss|
ss.source_files = 'MLCKit/Document/*.{h,m,mm}'
ss.frameworks = 'UIKit'
end
s.subspec 'Font' do |ss|
ss.source_files = 'MLCKit/Font/*.{h,m,mm}'
ss.frameworks = 'UIKit'
end
s.subspec 'LocalFolder' do |ss|
ss.source_files = 'MLCKit/LocalFolder/*.{h,m,mm}'
ss.frameworks = 'UIKit'
ss.dependency 'MLCKit/Category'
ss.dependency 'MLCKit/Utility'
end
s.subspec 'Location' do |ss|
ss.source_files = 'MLCKit/Location/*.{h,m,mm}'
ss.frameworks = 'UIKit'
end
s.subspec 'Macro' do |ss|
ss.source_files = 'MLCKit/Macro/*.{h,m,mm}'
ss.frameworks = 'UIKit'
end
s.subspec 'Photos' do |ss|
ss.source_files = 'MLCKit/Photos/*.{h,m,mm}'
ss.frameworks = 'AVFoundation', 'Photos'
ss.dependency 'MLCKit/Utility'
end
s.subspec 'Proxy' do |ss|
ss.source_files = 'MLCKit/Proxy/*.{h,m,mm}'
ss.frameworks = 'Foundation'
end
s.subspec 'Scan' do |ss|
ss.source_files = 'MLCKit/Scan/Classes/**/*'
# ss.resources = 'MLCKit/Scan/Resources/**/*'
ss.resource_bundles = {
'MLCKit' => ['MLCKit/Scan/Resources/**/*']
}
ss.frameworks = 'AVFoundation', 'Photos'
ss.dependency 'Masonry'
ss.dependency 'MLCKit/Category'
ss.dependency 'MLCKit/Macro'
ss.dependency 'MLCKit/Photos'
end
s.subspec 'TableView' do |ss|
ss.source_files = 'MLCKit/TableView/*.{h,m,mm}'
ss.frameworks = 'UIKit'
ss.dependency 'Masonry'
ss.dependency 'MJRefresh'
ss.dependency 'MLCKit/Category'
end
s.subspec 'Timer' do |ss|
ss.source_files = 'MLCKit/Timer/*.{h,m}'
ss.frameworks = 'Foundation'
end
s.subspec 'UI' do |ss|
ss.source_files = 'MLCKit/UI/*.{h,m,mm}'
ss.frameworks = 'UIKit'
ss.dependency 'Masonry'
ss.dependency 'MLCKit/Proxy'
end
s.subspec 'Utility' do |ss|
ss.source_files = 'MLCKit/Utility/*.{h,m}'
ss.frameworks = 'UIKit', 'AdSupport', 'CoreTelephony'
end
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
end