-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLCText.podspec
50 lines (37 loc) · 1.43 KB
/
LCText.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
Pod::Spec.new do |s|
s.name = "LCText"
s.version = "0.0.4"
s.summary = "文本相关的工具类。"
s.homepage = "https://github.com/mlcldh/LCText"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "mlcldh" => "1228225993@qq.com" }
s.platform = :ios, '6.0'
s.ios.deployment_target = '6.0'
s.source = { :git => "https://github.com/mlcldh/LCText.git", :tag => s.version.to_s }
# s.source_files = "LCText"
s.source_files = 'LCText/**/*.{h,m}'
s.frameworks = 'UIKit', 'Foundation'
s.requires_arc = true
s.static_framework = true
# s.default_subspecs = ['main']
#
# s.subspec 'main' do |ss|
# ss.source_files = 'LCText/**/*.{h,m}'
# ss.public_header_files = 'LCText/**/*.h'
# end
s.subspec 'LabelCategory' do |ss|
ss.source_files = 'LCText/LabelCategory/*.{h,m,mm}'
ss.public_header_files = 'LCText/LabelCategory/*.h'
end
s.subspec 'TextDidChange' do |ss|
ss.source_files = 'LCText/TextDidChange/*.{h,m,mm}'
ss.public_header_files = 'LCText/TextDidChange/*.h'
end
s.subspec 'LCTextView' do |ss|
ss.source_files = 'LCText/LCTextView/*.{h,m,mm}'
ss.public_header_files = 'LCText/LCTextView/*.h'
ss.dependency 'LCText/TextDidChange'
end
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
end