Pod::Spec.new do |s|
  s.name         = "SDDKit"
  s.version      = "1.0.4"
  s.summary      = "Fastest way for implementing hierarchical state machine(HSM) based programs in Objective-C."
  s.description  = "Fastest way for implementing hierarchical state based programs in Objective-C. Including built-in supports like readable DSL parser, event dispatcher, a visual macOS monitor program, etc."
  s.homepage     = "https://github.com/charleslyh/SDDKit"
  s.license      = "MIT"
  s.author       = "CharlesLyh"
  s.platform     = :ios, "7.0"
  s.source       = { :git => "https://github.com/charleslyh/SDDKit.git", :tag => "1.0.4" }
  s.source_files = "SDD", "SDD/SDD/**/*.{h,c,m}", "SDD/SDDI/**/*.{h,m}"
  s.requires_arc = true
end

Pod::Spec.new do |s|
  s.name         = "SDDKit"
  s.version      = "1.0.5"
  s.license      = "MIT"
  s.summary      = "Easiest way for implementing hierarchical state machine(HSM) based programs in Objective-C."
  s.homepage     = "https://github.com/charleslyh/SDDKit"
  s.authors      = { 'Charles Lee' => 'charles.liyh@gmail.com' }
  s.platform     = :ios, "8.0"
  s.source       = { :git => "https://github.com/charleslyh/SDDKit.git", :tag => s.version, :submodules => true }
  s.requires_arc = true

  s.public_header_files = 'SDDKit/SDDKit.h'
  s.source_files = 'SDDKit/SDDKit.h'

  s.subspec 'Core' do |ss|
    ss.source_files = 'SDDKit/lex.yy.c', 'SDDKit/y.tab.{h,c}', 'SDDKit/sdd_*.{h,c}'
  end

  s.subspec 'Parser' do |ss|
    ss.source_files = 'SDDKit', 'SDDKit/SDD{EventsPool,Scheduler,SchedulerBuilder}.{h.m}'
    ss.public_header_files = 'SDDKit/SDD{EventsPool,Scheduler,SchedulerBuilder}.{h.m}'
  end

end

Update podspec to support both static lib and framework uses
Update podspec to support both static lib and framework uses
