CNLiveCustomControl.podspec 2.2 KB
#
# Be sure to run `pod lib lint CNLiveCustomControl.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             = 'CNLiveCustomControl'
  s.version          = '0.0.1'
  s.summary          = 'CNLiveCustomControl'

# 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: 网家家-自定义控件.
                       DESC

  s.homepage         = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCustomControl'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' }
  s.source           = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCustomControl.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.source_files = 'CNLiveCustomControl/Classes/CNLiveCustomControl.h'

  # 倒计时按钮
  s.subspec 'Button' do |ss|
    ss.source_files = 'CNLiveCustomControl/Classes/Button/*'
  end

  # 导航栏
  s.subspec 'NavigationBar' do |ss|
    ss.source_files = 'CNLiveCustomControl/Classes/NavigationBar/*'
    ss.resource_bundles = {
      'CNLiveCustomControl' => ['CNLiveCustomControl/Assets/NavigationBar/NavigationBar.xcassets']
    }
    ss.dependency 'CNLiveTripartiteManagement/QMUIKit'
    # 分类
    ss.dependency 'CNLiveCategory'
  end
  
  s.subspec 'WebView' do |ss|
    ss.source_files = 'CNLiveCustomControl/Classes/WebView/*'
  end
  
  # s.resource_bundles = {
  #   'CNLiveCustomControl' => ['CNLiveCustomControl/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end