-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCustomKit.podspec
124 lines (105 loc) · 4.34 KB
/
CustomKit.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
# Be sure to run `pod lib lint CustomKit.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 = 'CustomKit'
s.version = '0.1.0'
s.summary = 'A short description of CustomKit.'
# 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.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/TT-usr/CustomKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'yao.tiancheng' => '[email protected]' }
s.source = { :git => 'https://github.com/TT-usr/CustomKit.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
# s.source_files = 'CustomKit/Classes/**/*'
s.subspec 'Header' do |s|
s.name = 'Header'
s.framework = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/CMFoundation.h'
end
s.subspec 'NSObject' do |s|
s.name = 'NSObject'
s.framework = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSObject/**/*.{h,m}'
s.private_header_files = 'CustomKit/Classes/Foundation/NSObject/NSObject+MFDictionaryAdapterPrivate.h'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSString' do |s|
s.name = 'NSString'
s.framework = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSString/**/*.{h,m}'
s.dependency 'CustomKit/Header'
s.dependency 'CustomKit/NSDictionary'
end
s.subspec 'NSArray' do |s|
s.name = 'NSArray'
s.framework = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSArray/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSDictionary' do |s|
s.name = 'NSDictionary'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSDictionary/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSSet' do |s|
s.name = 'NSSet'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSSet/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSData' do |s|
s.name = 'NSData'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSData/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSDate' do |s|
s.name = 'NSDate'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSDate/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSFileManager' do |s|
s.name = 'NSFileManager'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSFileManager/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'JSON' do |s|
s.name = 'JSON'
s.frameworks = 'UIKit', 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/JSON/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'NSNull' do |s|
s.name = 'NSNull'
s.frameworks = 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/NSNull/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'Invocation' do |s|
s.name = 'Invocation'
s.frameworks = 'Foundation'
s.source_files = 'CustomKit/Classes/Foundation/Invocation/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
s.subspec 'Device' do |s|
s.name = 'Device'
s.frameworks = 'UIKit'
s.source_files = 'CustomKit/Classes/Foundation/Device/**/*.{h,m}'
s.dependency 'CustomKit/Header'
end
end