-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSwiftyExts.podspec
60 lines (48 loc) · 1.82 KB
/
SwiftyExts.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
Pod::Spec.new do |s|
s.name = 'SwiftyExts'
s.summary = 'A collection of iOS components.'
s.version = '1.0.3'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'CoderDoraemon' => '277544354@qq.com' }
s.homepage = 'https://github.com/CoderDoraemon/SwiftyExts'
s.source = { :git => 'https://github.com/CoderDoraemon/SwiftyExts.git', :tag => s.version.to_s }
s.description = <<-DESC
Swift分类扩展:A collection of iOS components SwiftyExts.
DESC
s.requires_arc = true
s.swift_version = '5.0'
s.ios.deployment_target = '8.0'
s.default_subspec = 'Core'
s.subspec 'Foundation' do |t|
t.ios.deployment_target = '8.0'
t.source_files = 'SwiftyExts/Base/Foundation/**/*'
end
s.subspec 'UIKit' do |t|
t.ios.deployment_target = '8.0'
t.source_files = 'SwiftyExts/Base/UIKit/**/*'
end
s.subspec 'Core' do |t|
t.ios.deployment_target = '8.0'
t.dependency 'SwiftyExts/Foundation'
t.dependency 'SwiftyExts/UIKit'
end
s.subspec 'Attributes' do |t|
t.ios.deployment_target = '8.0'
t.source_files = 'SwiftyExts/Attributes/**/*'
t.dependency 'SwiftyExts/Core'
t.dependency 'SwiftyAttributes', '>= 5.1.1'
end
s.subspec 'Device' do |t|
t.ios.deployment_target = '8.0'
t.source_files = 'SwiftyExts/Device/**/*'
t.dependency 'SwiftyExts/Core'
t.dependency 'DeviceKit', '>= 2.3.0'
end
s.subspec 'All' do |t|
t.ios.deployment_target = '8.0'
t.dependency 'SwiftyExts/Core'
t.dependency 'SwiftyExts/Attributes'
t.dependency 'SwiftyExts/Device'
end
s.requires_arc = true
end