-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCSAPIService.podspec
More file actions
39 lines (30 loc) · 1.13 KB
/
CSAPIService.podspec
File metadata and controls
39 lines (30 loc) · 1.13 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
Pod::Spec.new do |s|
s.name = 'CSAPIService'
s.version = '0.2.1'
s.summary = 'Swift 网络抽象层'
s.description = <<-DESC
Swift 网络抽象层,角色分明
DESC
s.homepage = 'https://github.com/Coder-Star/APIService'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'CoderStar' => '1340529758@qq.com' }
s.source = { :git => 'https://github.com/Coder-Star/APIService.git', :tag => s.version.to_s }
s.swift_version = '5.0'
s.module_name = 'APIService'
s.ios.deployment_target = '13.0'
# 第一层
s.subspec 'Core' do |core|
core.source_files = 'APIService/Classes/Core/**/*'
core.dependency 'Alamofire','5.8.1'
end
# 第二层
s.subspec 'Plugin' do |plugin|
plugin.dependency 'CSAPIService/Core'
plugin.source_files = 'APIService/Classes/Plugin/**/*'
end
s.subspec 'Cache' do |cache|
cache.source_files = 'APIService/Classes/Cache/**/*'
cache.dependency 'CSAPIService/Core'
cache.dependency 'Cache','6.0.0'
end
end