YH_Analytics.podspec 1.5 KB
Pod::Spec.new do |s|
  s.name             = "YH_Analytics"
  s.version          = "1.0.0"
  s.summary          = "Analytics Kit"
  s.description      = <<-DESC
                       Analytics Kit
                       DESC
  s.homepage         = ""
  s.license          = 'MIT'
  s.author           = { "wangqianjun" => "wangqianjun168@163.com" }
  s.source           = { :git => "http://git.dev.yoho.cn/ios/yh_analytics.git", 
                         :branch => 'yoho', 
                         :tag => s.version.to_s }

  s.platform     = :ios, '6.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.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'

end