-
Notifications
You must be signed in to change notification settings - Fork 0
/
MarsUIKit.podspec
122 lines (103 loc) · 4.29 KB
/
MarsUIKit.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
#
# Be sure to run `pod lib lint MarsUIKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'MarsUIKit'
s.version = '2.1.0'
s.summary = 'MarsUIKit wraps some commonly used UI components.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: MarsUIKit wraps some commonly used UI components.
DESC
s.homepage = 'https://github.com/itenfay/MarsUIKit'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Tenfay' => 'itenfay@163.com' }
s.source = { :git => 'https://github.com/itenfay/MarsUIKit.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
#s.swift_versions = ['4.2', '5.0']
s.swift_version = '5.0'
s.requires_arc = true
s.default_subspecs = 'Base', 'BaseUI'
#s.source_files = 'MarsUIKit/Classes/**/*.{swift}'
# s.resource_bundles = {
# 'MarsUIKit' => ['MarsUIKit/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
s.subspec "Base" do |base|
base.source_files = 'MarsUIKit/Classes/Base/*.{swift}'
end
s.subspec "BaseUI" do |bui|
bui.source_files = 'MarsUIKit/Classes/BaseUI/*.{swift}'
bui.dependency 'MarsUIKit/Base'
bui.dependency 'RxSwift', '~> 6.6.0'
bui.dependency 'RxCocoa', '~> 6.6.0'
bui.dependency 'Kingfisher', '~> 6.3.1'
bui.dependency 'SVProgressHUD', '~> 2.2.5'
end
s.subspec "EmptyDataSet" do |eds|
eds.source_files = 'MarsUIKit/Classes/EmptyDataSet/*.{swift}'
eds.ios.deployment_target = '11.0'
eds.dependency 'MarsUIKit/Base'
eds.dependency 'DZNEmptyDataSet', '~> 1.8.1'
end
s.subspec "RxEmptyDataSet" do |rxeds|
rxeds.source_files = 'MarsUIKit/Classes/RxEmptyDataSet/*.{swift}'
rxeds.ios.deployment_target = '11.0'
rxeds.dependency 'MarsUIKit/EmptyDataSet'
rxeds.dependency 'RxSwift', '~> 6.6.0'
rxeds.dependency 'RxCocoa', '~> 6.6.0'
end
s.subspec "RxMJRefresh" do |rxmjr|
rxmjr.source_files = 'MarsUIKit/Classes/RxMJRefresh/*.{swift}'
rxmjr.ios.deployment_target = '11.0'
rxmjr.dependency 'RxSwift', '~> 6.6.0'
rxmjr.dependency 'RxCocoa', '~> 6.6.0'
rxmjr.dependency 'MJRefresh', '~> 3.7.6'
end
s.subspec "RxKafkaRefresh" do |rxkafkar|
rxkafkar.source_files = 'MarsUIKit/Classes/RxKafkaRefresh/*.{swift}'
rxkafkar.ios.deployment_target = '11.0'
rxkafkar.dependency 'RxSwift', '~> 6.6.0'
rxkafkar.dependency 'RxCocoa', '~> 6.6.0'
rxkafkar.dependency 'KafkaRefresh', '~> 1.7.0'
end
s.subspec "OverlayView" do |olv|
olv.source_files = 'MarsUIKit/Classes/OverlayView/*.{swift}'
olv.ios.deployment_target = '11.0'
olv.dependency 'MarsUIKit/Base'
olv.dependency 'OverlayController', '~> 1.0.1'
end
s.subspec "Messages" do |msg|
msg.source_files = 'MarsUIKit/Classes/Messages/*.{swift}'
msg.ios.deployment_target = '11.0'
msg.dependency 'MarsUIKit/Base'
msg.dependency 'SwiftMessages', '<= 9.0.6' # Support ios 9.0+
end
s.subspec "Toast" do |toast|
toast.source_files = 'MarsUIKit/Classes/Toast/*.{swift}'
toast.ios.deployment_target = '11.0'
toast.dependency 'MarsUIKit/Base'
toast.dependency 'Toaster', '~> 2.3.0'
toast.dependency 'Toast-Swift', '~> 5.0.1'
end
s.subspec "SVGA" do |svgap|
svgap.source_files = 'MarsUIKit/Classes/SVGA/*.{swift}'
svgap.ios.deployment_target = '11.0'
svgap.dependency 'SSZipArchive', '~> 2.4.3'
svgap.dependency 'Protobuf', '~> 3.26.1'
svgap.vendored_frameworks = 'MarsUIKit/Assets/SVGAPlayerXFWK/SVGAPlayer.xcframework' # SVGAPlayer
end
end