-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathNAME.podspec
64 lines (51 loc) · 2.07 KB
/
NAME.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
#
# Be sure to run 'pod lib lint ${POD_NAME}.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 = '${POD_NAME}'
s.version = '1.0.0'
s.summary = 'A short description of ${POD_NAME}.'
# 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.homepage = 'https://github.com/${USER_NAME}/${POD_NAME}'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Condy' => 'yangkj310@gmail.com' }
s.source = { :git => 'https://github.com/${USER_NAME}/${POD_NAME}.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.swift_version = '5.0'
s.requires_arc = true
s.static_framework = true
s.dependency 'Rickenbacker/Adapter' # 响应式基础架构
s.dependency 'Rickenbacker/Mediator' # 组件化模块
#s.dependency 'RxNetworks' # 网络架构
#s.dependency 'SnapKit' # 布局架构
#s.dependency 'Wintersweet' # 图像框架,支持GIF和Image
s.subspec 'Resources' do |xx|
xx.resource_bundles = { '${POD_NAME}' => ['Sources/Resources/*.{xcassets,lproj}'] }
end
s.subspec 'Util' do |xx|
xx.source_files = 'Sources/Util/**/*.swift'
end
s.subspec 'Api' do |xx|
xx.source_files = 'Sources/Api/**/*.swift'
end
s.subspec 'Controller' do |xx|
xx.source_files = 'Sources/Controller/**/*.swift'
end
s.subspec 'ViewModel' do |xx|
xx.source_files = 'Sources/ViewModel/**/*.swift'
end
s.subspec 'View' do |xx|
xx.source_files = 'Sources/View/**/*.swift'
end
s.subspec 'Model' do |xx|
xx.source_files = 'Sources/Model/**/*.swift'
end
end