Pod::Spec.new do |s|
  s.name         = "SICategory"
  s.version      = "1.7.6"
  s.summary      = "iOS Category."
  s.description  = <<-DESC
                      A collection of iOS Category.
                   DESC

  s.homepage     = "https://github.com/silence0201/iOS-Category"
  s.license      = { :type => "MIT", :file => "LICENSE" }
  s.author             = { "Silence" => "374619540@qq.com" }
  s.platform     = :ios, "7.0"
  s.source       = { :git => "https://github.com/silence0201/iOS-Category.git", :tag => "#{s.version}" }
  s.public_header_files = 'Classes/SICategory.h'
  s.source_files = 'Classes/SICategory.h'
  s.requires_arc = true

  s.subspec 'SIUIKit' do |ss|
    ss.source_files = 'Classes/UIKit/**/*.{h,m}'
    ss.public_header_files = 'Classes/UIKit/**/*.{h}'
  end

  s.subspec 'SIFoundation' do |ss|
    ss.source_files = 'Classes/Foundation/**/*.{h,m}'
    ss.public_header_files = 'Classes/Foundation/**/*.{h}'
  end

  s.subspec 'SIMacros' do |ss|
    ss.source_files = 'Classes/Macros/**/*.{h,m}'
    ss.public_header_files = 'Classes/Macros/**/*.{h}'
  end

  s.subspec 'EXTObj' do |ss|
    ss.source_files = 'Classes/EXTObj/**/*.{h,m}'
    ss.public_header_files = 'Classes/EXTObj/**/*.{h}'
  end

  s.subspec 'Manager' do |ss|
    ss.source_files = 'Classes/Manager/**/*.{h,m}'
    ss.public_header_files = 'Classes/Manager/**/*.{h}'
    s.frameworks  = 'StoreKit'
  end

  s.subspec 'QuartzCore' do |ss|
    ss.source_files = 'Classes/QuartzCore/**/*.{h,m}'
    ss.public_header_files = 'Classes/QuartzCore/**/*.{h}'
  end

end
