-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSTBaseProject.podspec
More file actions
62 lines (53 loc) · 2.15 KB
/
STBaseProject.podspec
File metadata and controls
62 lines (53 loc) · 2.15 KB
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
#
# Be sure to run `pod lib lint STBaseProject.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 = 'STBaseProject'
s.version = '1.1.0'
s.summary = 'Modular iOS foundation library with MVVM base abstractions.'
s.description = <<-DESC
STBaseProject provides modular iOS foundation components built on MVVM base types.
It includes reusable UI components and shared utilities for networking, localization, image handling, and security.
Available via CocoaPods subspecs and Swift Package Manager.
DESC
s.homepage = 'https://github.com/i-stack/STBaseProject'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'i-stack' => 'songshoubing7664@163.com' }
s.source = { :git => 'https://github.com/i-stack/STBaseProject.git', :tag => s.version.to_s }
s.documentation_url = 'https://github.com/i-stack/STBaseProject/blob/main/README.md'
s.readme = 'https://github.com/i-stack/STBaseProject/blob/main/README.md'
s.ios.deployment_target = '16.0'
s.swift_versions = %w[5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11]
s.requires_arc = true
s.default_subspecs = ['STBaseProject']
s.subspec 'STBaseProject' do |base|
base.source_files = 'Sources/**/*.swift'
base.exclude_files = [
'Sources/STContacts/**/*.swift',
'Sources/STLocation/**/*.swift',
'Sources/STMedia/**/*.swift',
'Sources/STMarkdown/**/*.swift'
]
end
s.subspec 'STContacts' do |contacts|
contacts.source_files = 'Sources/STContacts/*.swift'
end
s.subspec 'STLocation' do |location|
location.source_files = 'Sources/STLocation/*.swift'
end
s.subspec 'STMedia' do |media|
media.source_files = 'Sources/STMedia/*.swift'
end
# s.subspec 'STMarkdown' do |markdown|
# markdown.source_files = 'Sources/STMarkdown/*.swift'
# markdown.dependency 'Markdown'
# markdown.dependency 'SwiftMath'
# markdown.resource_bundles = {
# 'STBaseProject_STMarkdown' => ['Sources/STMarkdown/Resources/*']
# }
# end
end