-
Notifications
You must be signed in to change notification settings - Fork 0
/
RGAppTools.podspec
71 lines (50 loc) · 2.02 KB
/
RGAppTools.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
Pod::Spec.new do |s|
s.name = "RGAppTools"
s.version = "0.2.18"
s.summary = "App development support tools by Swift programming language."
s.description = <<-DESC
App development support tools by Swift programming language.
* App Commons
* Extensions
* RGBuilds
DESC
# Home Page of GitHUb
# s.homepage = "https://github.com/rain2540/RGAppTools"
# Home Page of Gitee
s.homepage = "https://gitee.com/rain2540/RGAppTools"
s.license = { :type => "MPL-2.0", :file => "LICENSE" }
s.author = { "rain2540" => "rain2540@foxmail.com" }
s.social_media_url = "https://weibo.com/rain2540"
s.swift_version = '5.0', '5.1', '5.2', '5.3', '5.4'
s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4']
s.ios.deployment_target = "11.0"
# s.osx.deployment_target = "10.13"
# source of GitHub
# s.source = { :git => "https://github.com/rain2540/RGAppTools.git", :tag => s.version }
# source of Gitee
s.source = { :git => "https://gitee.com/rain2540/RGAppTools.git", :tag => s.version }
s.default_subspecs = ['Core', 'AppCommons', 'Extensions', 'Protocols', 'RGBuild']
s.requires_arc = true
s.frameworks = 'CoreLocation', 'WebKit'
s.subspec 'Core' do |sp|
sp.source_files = ["Sources/RGAppTools.h", "Sources/RGAppTools.swift", "Sources/RATError.swift"]
end
s.subspec 'AppCommons' do |sp|
sp.source_files = ["Sources/AppCommons/*.swift"]
sp.dependency 'RGAppTools/Core'
end
s.subspec 'Extensions' do |sp|
sp.source_files = ["Sources/Extensions/**/*.swift", "Sources/Extensions/*.swift"]
sp.dependency 'RGAppTools/Core'
sp.dependency 'RGAppTools/AppCommons'
end
s.subspec 'Protocols' do |sp|
sp.source_files = ["Sources/Protocols/**/*.swift", "Sources/Protocols/*.swift"]
sp.dependency 'RGAppTools/Core'
sp.dependency 'RGAppTools/AppCommons'
end
s.subspec 'RGBuild' do |sp|
sp.source_files = ["Sources/RGBuild/*.swift"]
sp.dependency 'RGAppTools/Core'
end
end