-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathLDBus.podspec
34 lines (31 loc) · 1.69 KB
/
LDBus.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
#
# Be sure to run `pod lib lint LDCPGameIssues.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "LDBus"
s.version = "1.0.1"
s.summary = "基于Bundle架构的总线组件"
s.description = "基于Bundle架构的总线组件, 包括URL导航的UI总线,服务总线,消息总线"
s.license = {:type => 'MIT', :file => 'LICENSE'}
s.homepage = 'https://github.com/Lede-Inc/LDBusBundle_IOS'
s.author = { "huipang" => "huipang@corp.netease.com" }
s.source = { :git => "https://github.com/Lede-Inc/LDBusBundle_IOS.git", :tag => "#{s.version}" }
s.platform = :ios, '5.0'
s.ios.deployment_target = '5.0'
s.subspec 'arc' do |sa|
sa.public_header_files = 'LDBus/LDMBusContext.h', 'LDBus/LDUIBus/LDMUIBusConnector.h', 'LDBus/LDUIBus/LDMBusWebControllerProtocol.h', 'LDBus/LDMessageBus/LDMMessageReceiver.h', 'LDBus/LDUIBus/NavigatorUI/LDMWebContainerProtocol.h'
sa.source_files = 'LDBus/*.{h,m}', 'LDBus/LDBusConfig', 'LDBus/LDServiceBus', 'LDBus/LDMessageBus', 'LDBus/LDUIBus/*.{h,m}'
sa.requires_arc = true
sa.dependency 'LDBus/non-arc'
end
s.subspec 'non-arc' do |sn|
sn.public_header_files = 'LDBus/LDUIBus/LDMNavigator.h', 'LDBus/LDUIBus/NavigatorCore/URL\ Action/TTURLAction.h'
sn.source_files = 'LDBus/LDUIBus/NavigatorCore/**/*.{h,m}', 'LDBus/LDUIBus/NavigatorUI/**/*.{h,m}'
sn.requires_arc = false
end
end