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

# 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/CNLiveBLoginModule'
  # 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/CNLiveBLoginModule.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  # s.source_files = 'CNLiveBLoginModule/Classes/**/*'
  
  # Module
  s.subspec 'Module' do |ss|
      ss.source_files = 'CNLiveBLoginModule/Classes/Module/*.{h,m}'
      ss.dependency 'CNLiveBLoginModule/Controller'
  end
  
  # Controller
  s.subspec 'Controller' do |ss|
      ss.source_files = 'CNLiveBLoginModule/Classes/Controller/*.{h,m}'
      ss.dependency 'CNLiveBLoginModule/View'
      ss.dependency 'CNLiveBLoginModule/Model'
      ss.dependency 'CNLiveBLoginModule/ThreeLogin'
  end
  
  # View
  s.subspec 'View' do |ss|
      ss.source_files = 'CNLiveBLoginModule/Classes/View/*.{h,m}'
      ss.dependency 'CNLiveBLoginModule/Model'
  end
   
  # Model
  s.subspec 'Model' do |ss|
      ss.source_files = 'CNLiveBLoginModule/Classes/Model/*.{h,m}'
  end
  
  s.subspec 'ThreeLogin' do |ss|
      ss.source_files = 'CNLiveBLoginModule/Classes/ThreeLogin/*.{h,m}'
      ss.dependency 'CNLiveBLoginModule/View'
  end
  
  s.resource_bundles = {
     'CNLiveBLoginModule' => ['CNLiveBLoginModule/Assets/CNLiveBLoginModule.bundle']
  }

#  s.public_header_files = 'CNLiveBLoginModule/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
     
  # pod
  s.dependency 'CNLiveSDKs/CNLiveUserSystemSDK' #'~> 0.3.1.3' #GitHub所以指定版本号
  s.dependency 'CNLiveTripartiteManagement/QMUIKit'
  s.dependency 'CNLiveTripartiteManagement/YYKit'
  s.dependency 'CNLiveTripartiteManagement/SDWebImage'
  s.dependency 'CNLiveTripartiteManagement/Masonry'
  s.dependency 'CNLiveTripartiteManagement/MJExtension'

  # 基础库
  s.dependency 'CNLiveBaseClass'
  
  # 服务层
  s.dependency 'CNLiveBServices'
   
  # 切换成城市
  s.dependency 'CNLiveChooseCountry'
  
  # 用户信息本地化
  s.dependency 'CNLiveUserManagement'
  
  # 环境库
  s.dependency 'CNLiveEnvironment'
  
  # 数据请求
  s.dependency 'CNLiveRequestBastKit'
  
  # 用户协议
  s.dependency 'CNLiveBUserAgreement'
  
  # 管理类
  s.dependency 'CNLiveManager'
  
  # 相册
  s.dependency 'CNLiveImagePickerController'
  
  # 相机
  s.dependency 'CNLiveAVCamera'
  
  #IM
  s.dependency 'CNLiveIMBaseSDK'
  
  s.dependency 'tingyunApp', '~>2.14.0'

  # 分享
  s.dependency 'CNLiveShareToolKit'

  # 类别
  s.dependency 'CNLiveCategory'
  
  # 自定义控件
  s.dependency 'CNLiveCustomControl'

  s.static_framework = true
  s.xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }

end