Open liyuan116 opened 7 years ago
需求提出部门: 战略部 优先级: 公司重点项目 是否跨业务线项目: 否 涉及部门: 平台技术、产品部 项目决策委员会: xxx xx 项目总体负责人: xxx 产品负责人: xx 技术负责人: xxx 测试负责人: xxx 交互负责人: xxx 视觉负责人: xx 项目经理: xxx ----------------------------------分割线--------------------------------- LYMapBusiness.podspec #
#
Pod::Spec.new do |s| s.name = 'LYMapBusiness' s.version = '0.1.0' s.summary = '地图业务层组件' s.description = <<-DESC 地图业务层组件,主要包含:地址反查、首屏推荐、上车点三个模块 DESC s.homepage = 'https://www.bulayun.com/ios/LYMapBusiness' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { ‘Ly’ => ’1158084418@qq.com' } s.source = { :git => 'https://www.bulayun.com/ios/LYMapBusiness.git', :tag => s.version.to_s } s.ios.deployment_target = ‘1.0’
s.default_subspec = 'core'
s.resource_bundles = { 'DMBAssets' => ['LYMapBusiness/Assets/*'] }
s.subspec 'core' do |c| c.source_files = 'LYMapBusiness/Classes/*/'
c.dependency 'AFNetworking', '~> 2.5' c.dependency 'JSONModel'
end
s.subspec 'Common' do |ss| ss.source_files = 'LYMapBusiness/Classes/Common/*/.{h,m}' ss.resource = 'LYMapBusiness/Assets/Common/*' ss.dependency 'AFNetworking', '~> 2.5' ss.dependency 'JSONModel' end
s.subspec 'ReverseGeo' do |ss| ss.source_files = 'LYMapBusiness/Classes/ReverseGeo/.{h,m}' ss.resource = 'LYMapBusiness/Assets/ReverseGeo/' ss.dependency 'LYMapBusiness/Common' end
s.subspec 'Recommend' do |ss| ss.source_files = 'LYMapBusiness/Classes/Recommend/.{h,m}' ss.resource = 'LYMapBusiness/Assets/Recommend/' ss.dependency 'LYMapBusiness/Common' end
s.subspec 'SmoothMove' do |ss| ss.source_files = 'LYMapBusiness/Classes/SmoothMove/*/' ss.resource = 'LYMapBusiness/Assets/SmoothMove/*' ss.dependency 'LYMapBusiness/Common' end
s.subspec 'TakeCarPlace' do |ss| ss.source_files = 'LYMapBusiness/Classes/TakeCarPlace/*/' ss.resource = 'LYMapBusiness/Assets/TakeCarPlace/*' ss.dependency 'LYMapBusiness/Common' end s.frameworks = 'UIKit'
需求提出部门: 战略部 优先级: 公司重点项目 是否跨业务线项目: 否 涉及部门: 平台技术、产品部 项目决策委员会: xxx xx 项目总体负责人: xxx 产品负责人: xx 技术负责人: xxx 测试负责人: xxx 交互负责人: xxx 视觉负责人: xx 项目经理: xxx ----------------------------------分割线--------------------------------- LYMapBusiness.podspec #
Be sure to run `pod lib lint LYMapBusiness.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s| s.name = 'LYMapBusiness' s.version = '0.1.0' s.summary = '地图业务层组件' s.description = <<-DESC 地图业务层组件,主要包含:地址反查、首屏推荐、上车点三个模块 DESC s.homepage = 'https://www.bulayun.com/ios/LYMapBusiness' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { ‘Ly’ => ’1158084418@qq.com' } s.source = { :git => 'https://www.bulayun.com/ios/LYMapBusiness.git', :tag => s.version.to_s } s.ios.deployment_target = ‘1.0’
s.default_subspec = 'core'
s.resource_bundles = { 'DMBAssets' => ['LYMapBusiness/Assets/*'] }
主要 subspec
s.subspec 'core' do |c| c.source_files = 'LYMapBusiness/Classes/*/'
c.resource = 'LYMapBusiness/Assets/*/'
end
通用的网络请求、model
s.subspec 'Common' do |ss| ss.source_files = 'LYMapBusiness/Classes/Common/*/.{h,m}' ss.resource = 'LYMapBusiness/Assets/Common/*' ss.dependency 'AFNetworking', '~> 2.5' ss.dependency 'JSONModel' end
地址返查
s.subspec 'ReverseGeo' do |ss| ss.source_files = 'LYMapBusiness/Classes/ReverseGeo/.{h,m}' ss.resource = 'LYMapBusiness/Assets/ReverseGeo/' ss.dependency 'LYMapBusiness/Common' end
推荐目的地
s.subspec 'Recommend' do |ss| ss.source_files = 'LYMapBusiness/Classes/Recommend/.{h,m}' ss.resource = 'LYMapBusiness/Assets/Recommend/' ss.dependency 'LYMapBusiness/Common' end
首页周围运力的平滑移动
s.subspec 'SmoothMove' do |ss| ss.source_files = 'LYMapBusiness/Classes/SmoothMove/*/' ss.resource = 'LYMapBusiness/Assets/SmoothMove/*' ss.dependency 'LYMapBusiness/Common' end
推荐上车点
s.subspec 'TakeCarPlace' do |ss| ss.source_files = 'LYMapBusiness/Classes/TakeCarPlace/*/' ss.resource = 'LYMapBusiness/Assets/TakeCarPlace/*' ss.dependency 'LYMapBusiness/Common' end s.frameworks = 'UIKit'
end