YH_Analytics.podspec 1.69 KB
Pod::Spec.new do |s|
  s.name             = "YH_Analytics"
  s.version          = "3.2.1"
  s.summary          = "Analytics Kit"
  s.description      = <<-DESC
                       Analytics Kit
                       DESC
  s.homepage         = "http://git.yoho.cn/ios/yh_analytics"
  s.license          = 'MIT'
  s.author           = { "iOSdev" => "iosdev@yoho.cn" }
  s.source           = { :git => "http://git.yoho.cn/ios/yh_analytics.git", 
                         :branch => 'yoho', 
                         :tag => s.version.to_s }

  s.platform     = :ios, '8.0'
  s.requires_arc = true

  s.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/*.{h,m}'
  s.prefix_header_contents = '#import "YHAnalyticsMacro.h"'

  s.subspec 'Factory' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Factory/*.{h,m}'
  ss.requires_arc = true
  end

  s.subspec 'Model' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Model/*.{h,m}'
  ss.requires_arc = true
  end

  s.subspec 'Utils' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/Utils/*.{h,m}'
  ss.requires_arc = true
  end

  s.subspec 'OpenUDID' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/YHAnalyticsDependencies/OpenUDID/OpenUDID.{h,m}'
  ss.requires_arc = false
  end

  s.subspec 'KeychainStore' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/YHAnalyticsDependencies/OpenUDID/YH_KeychainStore.{h,m}'
  ss.requires_arc = true
  end

  s.subspec 'JTSHardwareInfo' do |ss|
  ss.source_files = 'YH_Analytics/YH_Analytics/YH_Analytics/YHAnalyticsDependencies/JTSHardwareInfo/*.{h,m}'
  ss.requires_arc = true
  end

  s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'

end