# coding: utf-8
Pod::Spec.new do |s|
  s.name                  = 'MASShortcut'
  s.version               = '2.3.6'
  s.summary               = 'Modern framework for managing global keyboard shortcuts compatible with Mac App Store'
  s.homepage              = 'https://github.com/shpakovski/MASShortcut'
  s.license               = 'BSD 2-clause'
  s.authors               = { 'Vadim Shpakovski' => 'vadim@shpakovski.com',
                              'Tomáš Znamenáček' => 'tomas.znamenacek@gmail.com' }

  s.platform              = :osx
  s.osx.deployment_target = "10.6"
  s.source                = { :git => 'https://github.com/shpakovski/MASShortcut.git', :tag => s.version }
  s.source_files          = 'Framework/**/*.{h,m}'
  s.exclude_files         = 'Framework/**/*Tests.m'
  s.osx.frameworks        = 'Carbon', 'AppKit'
  s.requires_arc          = true
  s.osx.resource_bundles  = { 'MASShortcut' => ['Resources/*.lproj'] }
end

# coding: utf-8
Pod::Spec.new do |s|
  s.name                  = 'MASShortcut'
  s.version               = '2.3.6'
  s.summary               = 'Modern framework for managing global keyboard shortcuts compatible with Mac App Store'
  s.homepage              = 'https://github.com/shpakovski/MASShortcut'
  s.license               = 'BSD 2-clause'
  s.authors               = { 'Vadim Shpakovski' => 'vadim@shpakovski.com',
                              'Tomáš Znamenáček' => 'tomas.znamenacek@gmail.com' }

  s.platform              = :osx
  s.osx.deployment_target = "10.10"
  s.source                = { :git => 'https://github.com/shpakovski/MASShortcut.git', :tag => s.version }
  s.source_files          = 'Framework/**/*.{h,m}'
  s.exclude_files         = 'Framework/**/*Tests.m'
  s.osx.frameworks        = 'Carbon', 'AppKit'
  s.requires_arc          = true
  s.osx.resource_bundles  = { 'MASShortcut' => ['Resources/*.lproj'] }
end

Fix Deployment Target specified in podspec
Fix Deployment Target specified in podspec

Somewhere in the past we have bumped Deployment Target for the framework
to 10.10, but forgot to also bump the Deployment Target setting in the podspec,
leading to CocoaPods building the framework with different options. This lead
to mysterious warnings (#131) that were only visible in some CocoaPods builds.

This change fixes the CocoaPods Deployment Target to be the same as in the
Xcode project, ie. 10.10.
