-
Notifications
You must be signed in to change notification settings - Fork 8
/
SwiftBrick.podspec
53 lines (41 loc) · 1.51 KB
/
SwiftBrick.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
Pod::Spec.new do |s|
s.name = 'SwiftBrick'
s.version = '2.5.0'
s.summary = '工具类组件.'
s.description = <<-DESC
工具.
DESC
s.homepage = 'https://github.com/jackiehu/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'HU' => '[email protected]' }
s.source = { :git => 'https://github.com/jackiehu/SwiftBrick.git', :tag => s.version.to_s }
s.ios.deployment_target = "11.0"
s.swift_versions = ['5.8','5.7','5.6','5.5','5.4','5.3','5.2','5.1','5.0']
s.requires_arc = true
s.frameworks = "UIKit", "Foundation", "WebKit", "SwiftUI" #支持的框架
s.resource_bundles = {
'SwiftBrick' => ['Sources/SwiftBrick/Resources/*.xcassets']
}
s.subspec 'Util' do |ss|
ss.source_files = 'Sources/SwiftBrick/Util/**/*'
end
s.subspec 'Extensions' do |ss|
ss.dependency 'SwiftBrick/Util'
ss.source_files = 'Sources/SwiftBrick/Extensions/**/*'
end
s.subspec 'BaseCell' do |ss|
ss.dependency 'SwiftBrick/Extensions'
ss.source_files = 'Sources/SwiftBrick/BaseCell/**/*'
end
s.subspec 'BaseVC' do |ss|
ss.dependency 'SwiftBrick/Util'
ss.dependency 'SwiftBrick/BaseCell'
ss.dependency 'SwiftBrick/Extensions'
ss.source_files = 'Sources/SwiftBrick/BaseVC/**/*'
end
s.subspec 'ViewFactory' do |ss|
ss.dependency 'SwiftBrick/Util'
ss.dependency 'SwiftBrick/Extensions'
ss.source_files = 'Sources/SwiftBrick/ViewFactory/**/*'
end
end