CNLiveCustomControl.podspec
2.3 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
#
# Be sure to run `pod lib lint CNLiveCustomControl.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 = 'CNLiveCustomControl'
s.version = '0.0.2'
s.summary = 'CNLiveCustomControl'
# 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: 网家家-自定义控件.
DESC
s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCustomControl'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' }
s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCustomControl.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '9.0'
s.source_files = 'CNLiveCustomControl/Classes/CNLiveCustomControl.h'
# 倒计时按钮
s.subspec 'Button' do |ss|
ss.source_files = 'CNLiveCustomControl/Classes/Button/*'
end
# 导航栏
s.subspec 'NavigationBar' do |ss|
ss.source_files = 'CNLiveCustomControl/Classes/NavigationBar/*'
ss.resource_bundles = {
# 'CNLiveCustomControl' => ['CNLiveCustomControl/Assets/NavigationBar/NavigationBar.xcassets']
'CNLiveCustomControl' => ['CNLiveCustomControl/Assets/NavigationBar/NavigationBar.bundle']
}
ss.dependency 'CNLiveTripartiteManagement/QMUIKit'
# 分类
ss.dependency 'CNLiveCategory'
end
s.subspec 'WebView' do |ss|
ss.source_files = 'CNLiveCustomControl/Classes/WebView/*'
end
# s.resource_bundles = {
# 'CNLiveCustomControl' => ['CNLiveCustomControl/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end