-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZDMediator.podspec
49 lines (45 loc) · 1.62 KB
/
ZDMediator.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
#
# Be sure to run `pod lib lint ZDMediator.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 = 'ZDMediator'
s.version = '0.3.3'
s.summary = '模块通信中间件'
s.description = <<-DESC
用于模块间通信的中间件,支持自动注册、手动注册、强弱引用、方法调用容错
DESC
s.homepage = 'https://github.com/faimin/ZDMediator'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Zero.D.Saber' => 'fuxianchao@gmail.com' }
s.source = {
:git => 'https://github.com/faimin/ZDMediator.git',
:tag => s.version.to_s
}
s.social_media_url = 'https://faimin.github.io/'
s.prefix_header_file = false
s.module_name = 'ZDMediator'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
# s.platforms = {
# :ios => "10.0",
# :osx => "10.12",
# }
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/ZDMediator/Classes/**/*.{h,m}'
ss.project_header_files = 'Sources/ZDMediator/Classes/{ZDMConst,ZDMEventResponder,ZDMServiceItem,ZDMServiceBox}.h'
end
s.subspec 'DisableAssert' do |ss|
ss.source_files = 'Sources/ZDMediator/Classes/ZDMediatorDefine.h'
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'ASSERTDISABLE=1',
}
end
s.default_subspec = 'Core'
end