-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSLIKit.podspec
50 lines (45 loc) · 1.63 KB
/
SLIKit.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
Pod::Spec.new do |s|
s.name = "SLIKit"
s.version = "1.5.7"
s.swift_version = "5.0"
s.summary = "开发常用"
s.description = "开发中常用的扩展和工具"
s.homepage = "https://github.com/2NU71AN9/SLIKit" #项目主页,不是git地址
s.license = { :type => "MIT", :file => "LICENSE" } #开源协议
s.author = { "2UN7" => "[email protected]" }
s.platform = :ios, "13.0"
s.requires_arc = true #是否支持ARC
s.source = { :git => "https://github.com/2NU71AN9/SLIKit.git", :tag => "v#{s.version}" } #存储库的git地址,以及tag值
s.default_subspec = 'Full'
s.subspec 'Lite' do |ss|
ss.source_files = "SLIKit/Classes/**/*.{h,m,swift,xib,xcassets}"
ss.resources = "SLIKit/Classes/Resource/*.bundle"
# ss.resource_bundles = {
# 'SLIKit' => ['SLIKit/Classes/**/*.xcassets', 'SLIKit/Classes/**/*.xib']
# }
end
s.subspec 'ImageAbout' do |ss|
ss.dependency "SLIKit/Lite"
ss.dependency "JXPhotoBrowser"
ss.dependency "Kingfisher"
end
s.subspec 'Full' do |ss|
ss.dependency "SLIKit/Lite"
ss.dependency "RxSwift"
ss.dependency "RxCocoa"
ss.dependency "Then"
ss.dependency "SnapKit"
ss.dependency "MJRefresh"
ss.dependency "SwiftDate"
ss.dependency "JXPhotoBrowser"
ss.dependency "Kingfisher"
ss.dependency "FSTextView"
ss.dependency "Haptica"
ss.dependency "TagListView"
ss.dependency "HXPhotoPicker"
ss.dependency "swiftScan"
ss.dependency "SwiftMessages"
ss.dependency "ProgressHUD"
ss.dependency "Toaster"
end
end