CNLiveBMineModule.podspec
3.93 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
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
125
126
127
128
129
130
131
#
# Be sure to run `pod lib lint CNLiveBMineModule.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 = 'CNLiveBMineModule'
s.version = '0.0.2'
s.summary = 'CNLiveBMineModule.'
# 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/CNLiveBMineModule'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'iOS-Xiaowen' => '153993236@qq.com' }
s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBMineModule.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '9.0'
# Module
s.subspec 'Module' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/Module/*.{h,m}'
ss.dependency 'CNLiveBMineModule/Controller'
end
# Controller
s.subspec 'Controller' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/Controller/*.{h,m}'
ss.dependency 'CNLiveBMineModule/UserInfo'
ss.dependency 'CNLiveBMineModule/Setting'
ss.dependency 'CNLiveBMineModule/View'
end
# View
s.subspec 'View' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/View/*.{h,m}'
ss.dependency 'CNLiveBMineModule/Model'
ss.dependency 'CNLiveBMineModule/UserInfo'
end
# Model
s.subspec 'Model' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/Model/*.{h,m}'
end
# 用户信息/个人资料
s.subspec 'UserInfo' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/UserInfo/*.{h,m}'
end
# 设置
s.subspec 'Setting' do |ss|
ss.source_files = 'CNLiveBMineModule/Classes/Setting/**/*.{h,m}'
end
s.resource_bundles = {
# 'CNLiveBMineModule' => ['CNLiveBMineModule/Assets/CNLiveBMineModule.xcassets']
'CNLiveBMineModule' => ['CNLiveBMineModule/Assets/CNLiveBMineModule.bundle']
}
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
# pod
s.dependency 'CNLiveSDK/CNLiveUserSystemSDK' #GitHub所以指定版本号
s.dependency 'CNLiveTripartiteManagement/QMUIKit'
s.dependency 'CNLiveTripartiteManagement/SDWebImage'
s.dependency 'CNLiveTripartiteManagement/Masonry'
s.dependency 'CNLiveTripartiteManagement/MJExtension'
s.dependency 'CNLiveTripartiteManagement/AFNetworking'
s.dependency 'CNLiveTripartiteManagement/YYKit'
# 服务层
s.dependency 'CNLiveBServices'
# 环境
s.dependency 'CNLiveEnvironment'
# 基类
s.dependency 'CNLiveBaseClass','0.0.6'
# IM
s.dependency 'CNLiveIMBaseSDK'
# 类别
s.dependency 'CNLiveCategory'
# 用户信息本地化
s.dependency 'CNLiveUserManagement'
# 分享工具库
s.dependency 'CNLiveShareToolKit'
# 用户协议
s.dependency 'CNLiveBUserAgreement'
# 切换国家
s.dependency 'CNLiveChooseCountry'
# 自定义组件
s.dependency 'CNLiveCustomControl'
# 管理类
s.dependency 'CNLiveManager'
# 分类
s.dependency 'CNLiveCommonCategory'
# 相册
s.dependency 'CNLiveImagePickerController'
# 相册
s.dependency 'CNLiveAVCamera'
s.static_framework = true
s.xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
s.pod_target_xcconfig ={'OTHER_LDFLAGS' =>'-ObjC'}
end