forked from bmfe/eros-plugin-ios-baseLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ErosPluginBaseLibrary.podspec
137 lines (119 loc) · 4.2 KB
/
ErosPluginBaseLibrary.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
125
126
127
128
129
130
131
132
133
134
135
136
137
# coding: utf-8
Pod::Spec.new do |s|
s.name = "ErosPluginBaseLibrary"
s.version = "1.3.6"
s.summary = "WeexEros iOS App base library"
s.description = <<-DESC
WeexEros iOS App base library
DESC
s.homepage = "https://github.com/bmfe/eros-plugin-ios-baseLibrary"
s.license = "MIT"
s.author = { "xionghuayu" => "18601949015@163.com" }
s.platform = :ios, "8.0"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/bmfe/eros-plugin-ios-baseLibrary.git", :tag => s.version.to_s }
s.requires_arc = true
s.dependency 'YYText', '1.0.7'
s.dependency 'Masonry', '1.1.0'
s.dependency 'YYModel', '1.0.4'
s.dependency 'SSZipArchive', '2.2.2'
s.dependency 'YTKNetwork', '2.0.4'
s.dependency 'SocketRocket', '0.5.1'
s.dependency 'SDWebImage', '5.0.6'
s.dependency 'MJRefresh', '3.2.0'
s.dependency 'CTMediator', '13'
#Device信息非ARC
s.subspec 'BMDevice' do |ss|
ss.source_files = "Source/BMDevice/*.{c,h,m,mm,S}"
ss.frameworks = "Security"
ss.requires_arc = false
end
#自定义转场动画
s.subspec 'BMTransition' do |ss|
ss.source_files = "Source/BMTransition/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMTransition/*.h"
ss.requires_arc = true
end
#Debug 相关类
s.subspec 'BMDebug' do |ss|
ss.source_files = "Source/BMDebug/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMDebug/**/*.h"
ss.requires_arc = true
end
#对iOS系统类的拓展
s.subspec 'BMExtension' do |ss|
ss.source_files = "Source/BMExtension/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMExtension/**/*.h"
ss.requires_arc = true
ss.libraries = "bz2"
end
#对Weex系统类的拓展
s.subspec 'BMWeexExtension' do |ss|
ss.source_files = "Source/BMWeexExtension/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMWeexExtension/*.h"
ss.resources = 'Source/BMWeexExtension/Resources/*'
ss.requires_arc = true
end
#Controller类
s.subspec 'BMController' do |ss|
ss.source_files = "Source/BMController/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMController/**/*.h"
ss.requires_arc = true
end
#Network类
s.subspec 'BMNetwork' do |ss|
ss.source_files = "Source/BMNetwork/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMNetwork/**/*.h"
ss.requires_arc = true
end
#Weex Module
s.subspec 'BMModule' do |ss|
ss.source_files = "Source/BMModule/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMModule/**/*.h"
ss.resources = 'Source/BMModule/Modal/SVProgressHUD/SVProgressHUD.bundle'
ss.requires_arc = true
ss.dependency "Realm",'3.17.0'
ss.dependency "BindingX",'1.0.3'
ss.dependency 'TZImagePickerController', '3.2.1'
end
#Weex BMManager
s.subspec 'BMManager' do |ss|
ss.source_files = "Source/BMManager/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMManager/**/*.h"
ss.requires_arc = true
end
#自定义Handler
s.subspec 'BMHandler' do |ss|
ss.source_files = "Source/BMHandler/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMHandler/*.h"
ss.requires_arc = true
end
#自定义CustomUI
s.subspec 'BMCustomUI' do |ss|
ss.source_files = "Source/BMCustomUI/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMCustomUI/**/*.h"
ss.requires_arc = true
end
#自定义组件
s.subspec 'BMComponent' do |ss|
ss.source_files = "Source/BMComponent/**/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMComponent/**/*.h"
ss.requires_arc = true
ss.resources = 'Source/BMComponent/Calendar/Resources/*.png','Source/BMComponent/Chart/Resources/*'
ss.dependency 'FSCalendar','2.8.0'
ss.dependency 'YYText', '1.0.7'
end
#自定义组件
s.subspec 'BMModel' do |ss|
ss.source_files = "Source/BMModel/*.{c,h,m,mm,S}"
ss.public_header_files = "Source/BMModel/*.h"
ss.requires_arc = true
end
#ErosApp
s.subspec 'ErosApp' do |ss|
ss.source_files = "Source/ErosApp/**/*.{c,h,m,mm,S,pch}"
ss.public_header_files = "Source/ErosApp/**/*.h"
ss.requires_arc = true
ss.prefix_header_file = 'Source/ErosApp/ErosDefine/PrefixHeader.pch'
end
end