-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathXYZKit.podspec
More file actions
93 lines (63 loc) · 2.19 KB
/
XYZKit.podspec
File metadata and controls
93 lines (63 loc) · 2.19 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
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
#
# Be sure to run `pod lib lint XYZKit.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 = 'XYZKit'
s.version = '0.7.0'
s.summary = 'A short description of XYZKit.'
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/DFTT'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'XYZ' => 'lidong@021.com' }
s.source = { :git => 'https://github.com/DFTT/XYZKit.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.swift_versions = ['5.0']
s.frameworks = 'Foundation', 'UIKit'
# s.user_target_xcconfig = {'OTHER_LDFLAGS' => ['-lObjC']}
# s.pod_target_xcconfig = {'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
s.requires_arc = true
s.default_subspecs = 'Core'
#Core
s.subspec 'Core' do |ss|
ss.source_files = 'XYZKit/Classes/Core/**/*.swift'
end
#XYZEmptyBoard
s.subspec 'XYZEmptyBoard' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZEmptyBoard/**/*.swift'
end
#XYZFloatDragView
s.subspec 'XYZFloatDragView' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZFloatDragView/**/*.swift'
end
#XYZSMSCodeInputView
s.subspec 'XYZSMSCodeInputView' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZSMSCodeInputView/**/*.swift'
end
#XYZBadgeView
s.subspec 'XYZBadgeView' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZBadgeView/**/*.swift'
end
#XYZLinkView
s.subspec 'XYZLinkView' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZLinkView/**/*.swift'
end
#XYZGuideView
s.subspec 'XYZGuideView' do |ss|
ss.dependency 'XYZKit/Core'
ss.source_files = 'XYZKit/Classes/XYZGuideView/**/*.swift'
end
# s.resource_bundles = {
# 'XYZKit' => ['XYZKit/Assets/*.png']
# }
end