We’re not packaging the code as a framework for CocoaPods – I’m not sure how the podspec should look like for that case and if it’s even supported, see this Stack Overflow question: http://stackoverflow.com/questions/25258395 Instead we simply pick the naked source files as usual with CocoaPods.
17 lines
759 B
Ruby
17 lines
759 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'MASShortcut'
|
|
s.version = '2.0.0'
|
|
s.summary = 'Modern framework for managing global keyboard shortcuts compatible with Mac App Store'
|
|
s.homepage = 'https://github.com/shpakovski/MASShortcut'
|
|
s.authors = { 'Vadim Shpakovski' => 'vadim@shpakovski.com' }
|
|
s.license = 'BSD 2-clause'
|
|
s.platform = :osx
|
|
s.osx.deployment_target = "10.7"
|
|
|
|
s.source = { :git => 'https://github.com/shpakovski/MASShortcut.git', :tag => '2.0.0' }
|
|
s.source_files = 'Framework/*.{h,m}'
|
|
s.exclude_files = 'Framework/*Tests.m'
|
|
s.osx.frameworks = 'Carbon', 'AppKit'
|
|
s.requires_arc = true
|
|
end
|