Pod::Spec.new do |spec|
  spec.name     = 'K9LogPatternFormatter'
  spec.version  = '0.1.0'
  spec.summary  = 'K9LogPatternFormatter is flexible logging message formatter configurable with pattern string'
  spec.homepage = 'https://github.com/ishikawa/K9LogPatternFormatter'
  spec.license  = 'MIT'
  spec.author   = { 'Takanori Ishikawa' => 'takanori.ishikawa@gmail.com' }
  spec.source   = {
    :git => 'https://github.com/ishikawa/K9LogPatternFormatter.git',
    :tag => spec.version.to_s,
  }

  spec.frameworks   = 'Foundation'
  spec.requires_arc = true

  spec.subspec 'Core' do |core|
    core.source_files = 'Classes/Core/**/*.{h,m}'
  end

  spec.subspec 'Lumberjack' do |lumberjack|
    lumberjack.source_files = 'Classes/Lumberjack/**/*.{h,m}'
    lumberjack.dependency 'CocoaLumberjack'
  end

end

Pod::Spec.new do |spec|
  spec.name     = 'K9LogPatternFormatter'
  spec.version  = '0.1.0'
  spec.summary  = 'K9LogPatternFormatter is flexible logging message formatter configurable with pattern string'
  spec.homepage = 'https://github.com/ishikawa/K9LogPatternFormatter'
  spec.license  = 'MIT'
  spec.author   = { 'Takanori Ishikawa' => 'takanori.ishikawa@gmail.com' }
  spec.source   = {
    :git => 'https://github.com/ishikawa/K9LogPatternFormatter.git',
    :tag => spec.version.to_s,
  }

  spec.frameworks   = 'Foundation'
  spec.requires_arc = true

  spec.subspec 'Core' do |core|
    core.source_files = 'Classes/Core/**/*.{h,m}'
  end

  spec.subspec 'Lumberjack' do |lumberjack|
    lumberjack.source_files = 'Classes/Lumberjack/**/*.{h,m}'
    lumberjack.dependency 'K9LogPatternFormatter/Core'
    lumberjack.dependency 'CocoaLumberjack'
  end

end

Add common dependency in subspec
Add common dependency in subspec
