# # Be sure to run `pod lib lint GenericModules.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 = 'GenericModules' s.version = '0.1.0' s.summary = '通用模块组件库' # 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: Add long description of the pod here. DESC s.homepage = 'https://github.com/Xiong/GenericModules' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Xiong' => '1552387702@qq.com' } s.source = { :git => 'https://github.com/Xiong/GenericModules.git', :tag => s.version.to_s } # s.social_media_url = 'https://twitter.com/' s.ios.deployment_target = '10.0' s.source_files = 'GenericModules/Classes/*' s.subspec "Publish" do |publish| publish.source_files = "GenericModules/Classes/Publish/*" publish.public_header_files = 'GenericModules/Classes/Publish/**/*.h' publish.dependency 'GenericModules/Macro' publish.dependency 'TZImagePickerController' #图片选择器 end s.subspec "Macro" do |macro| macro.source_files = "GenericModules/Classes/Macro/*" macro.public_header_files = 'GenericModules/Classes/Macro/**/*.h' end s.subspec "Category" do |category| category.source_files = "GenericModules/Classes/Category/*" category.public_header_files = 'GenericModules/Classes/Category/**/*.h' end s.subspec "MGJRouter" do |mGJRouter| mGJRouter.source_files = "GenericModules/Classes/MGJRouter/*" mGJRouter.public_header_files = 'GenericModules/Classes/MGJRouter/**/*.h' end s.subspec "Refresh" do |refresh| refresh.source_files = "GenericModules/Classes/Refresh/*" refresh.public_header_files = 'GenericModules/Classes/Refresh/**/*.h' refresh.dependency 'MJRefresh' refresh.dependency 'lottie-ios', '=2.5.3' end s.resource_bundles = { 'GenericModules' => ['GenericModules/Assets/*.xcassets','GenericModules/Assets/images/*.png', 'GenericModules/Assets/*.json'] } # s.public_header_files = 'Pod/Classes/**/*.h' # s.frameworks = 'UIKit', 'MapKit' # s.dependency 'AFNetworking', '~> 2.3' s.dependency 'Masonry' s.dependency 'ReactiveObjC' end